- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-26-2024 09:28 AM
I have published a flow as an app and I have given permissions to a user so that he can execute it and at the moment of consuming the flow it shows the error "error while authenticating".
The flow in the "External access controls" options only has "Flow OIDC authentication" selected.
What other configuration should be done so that a user that is not flow admin or flow read can consume the flow?
06-28-2024 10:07 AM
After publishing a flow as an app using OIDC, you will now see the published flow listed as a "web app" inside of your CyberArk Identity Admin Portal if you go to Apps & Widgets>Web Apps. Now, configure your chosen flow "web app" and go to the Permissions setting for the web app. At this point you can add users or roles to the flow web app inside of CyberArk Identity and the flow will now show in your authorized users' user portal where they can run the flow (and be authenticated into it).
07-08-2024 02:27 PM
Exactly that was what I did, my flow basically sends a message to slack and in the message slack places some buttons that sends to call the flow where I have problems, the url that forms the button looks like this "https://aawXXX.id.cyberark.cloud/login?cloudRedirect=Oauth2/Authorize/Flows_Portal_Bridge?bounce=XXXX&customerId=AAWXXXX" (I put the X replacing the valid data of my tenant) and I get this error message:
{
"error": "error while authenticating"
}
09-21-2026 09:51 AM
I’d check the authentication configuration for the published app first. OIDC being enabled may not be enough by itself—the consuming user may also need the appropriate app/flow permissions and identity-provider configuration. Checking the flow’s execution permissions and the authentication settings for the published app should help pinpoint the issue.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

