Has anyone had this error "error while authenticating" when publishing a flow as an app ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Has anyone had this error "error while authenticating" when publishing a flow as an app ?

L0 Member

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?

3 REPLIES 3

L0 Member

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).

L0 Member

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"

}

L1 Bithead

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.

  • 18 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!