Colin_S
October 21

Does anyone in the community have experience with Web Messaging Guest API and authenticated sessions?
Are there any worked examples of this?

Summary

We have a backend service that is using [Web messaging Guest API] (Genesys Cloud Developer Center) to establish a WebSocket connection with Genesys and transfer a chat session to a live agent.

Problem statement

To comply with security requirements, we need to have an authenticated session with Genesys.

Problem details

For proof of concept, we are using ConfigureSession action which does not have authentication: Genesys Cloud Developer Center

With these parameters:
{

"action": "configureSession",

"tracingId": "{{tracingId}}",

"deploymentId": "{{deploymentId}}",

"token": "{{token}}"

}

What we want to use is ConfigureAuthenticatedSession action: Genesys Cloud Developer Center

It has an additional parameter "Code"

code (required) A JWT token retrieved from Genesys [platform API URLs] (Genesys Cloud Developer Center) during user authentication.

Assuming that the authentication has to happen before the Web Messaging session is established, are there worked examples of how to get the "Code" parameter to be passed to ConfigureAuthenticatedSession action?

Thank you.


Visit Topic to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.