Genesys Cloud - Developer Community!

 View Only

Sign Up

Issue Opening PKCE OAuth Authorization URL

  • 1.  Issue Opening PKCE OAuth Authorization URL

    Posted 20 hours ago

    I am trying to construct a URL for authentication using the PKCE Grant.
    For the region, I use args[0], which is set to mypurecloud.jp for Japan.
    However, when I try to open this URL, it does not work as expected. What should I do?

    Here is the format of the URL I am generating:

    https://login.{args[0]}/oauth/authorize?response_type=code&client_id={encodedClientId}&redirect_uri={encodedRedirectUri}&code_challenge={codeChallenge}&code_challenge_method=S256&prompt=login

    #PlatformAPI
    #PlatformSDK

    ------------------------------
    Naoki Ono
    ------------------------------