Auth Token <Detect Existing login session>

Hello Team,

We are writing a custom Apex code to make API calls to genesys cloud on user click. User would be already logged into Genesys from same browser. How can we detect Existing login session and get Token from same session.

Much appreciate your response.

Thanks,
Rajnish

The only way for an app to get an auth token is to initiate an OAuth flow appropriate for the app's architecture. These are documented here: https://developer.genesys.cloud/authorization/platform-auth/. This process will follow the standard Genesys Cloud authentication process that will make use of the saved auth cookie, if conditions allow.

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