Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Auth Token

    Posted 06-05-2025 18:06

    Rajnish_Roy | 2022-09-22 03:38:24 UTC | #1

    Hello Team,

    We are writing a custom Apex code<SFDC 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


    tim.smith | 2022-09-22 13:34:16 UTC | #2

    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.


    system | 2022-10-23 13:34:27 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 16390