How to provide token directly to Auth Plugin, not using Auth Provider

I am trying to authenticated web messing.
This Okta blueprint (Messenger with Authentication) uses Auth Provider to use auth code to exchange for a token.

However, my identity provider, Aws Cognito does not expose any auth code after user is authenticated to our web app, but I can retrieve access token using Aws Amplify easily.

So, can I provide a token directly to Auth Plugin (https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/SDKCommandsEvents/authPlugin), skipping the Auth Provider? It is impossible for me to use Auth Provider.

If so, how?

Hi,

Thank you for reaching out.

I guess you are referring to implicit flow and sadly, this is not currently supported.
Only authorization code flow which is considered more secured.

This being said, there is currently an idea setup around this.
Have a look to Genesys Cloud Ideas Portal and add your use case to it to push this onto the top.

Hope this helps,

Regards,
V.P.

1 Like

Hi V.P.

Can you tell me what's your definition of "implicit flow"? I just want to confirm we are referring to the same thing. Thank for replying my question!

  • Nick

I am referring to the implicit grant flow:

Regards,
V.P.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.