Genesys Cloud - Developer Community!

 View Only

Sign Up

loginPKCEGrant missing tokenExpiryTime

  • 1.  loginPKCEGrant missing tokenExpiryTime

    Posted 7 hours ago

    Given the upcoming deprecation of loginImplcitGrant, we are trying to use the loginPKCEGrant from the Javascript SDK.  We noticed one difference is that the implicit grant returns an authData object which has tokenExpiryTime but when using the loginPKCEGrant, that field is not filled out.  Is that a problem with the PKCE function in the javascript SDK?

    Implicit Example

    {"accessToken":"qVnglPHpDG3_4...","tokenExpiryTime":1778264576162,"tokenExpiryTimeString":"Fri, 08 May 2026 18:22:56 GMT"}

    PKCE Example

    {"accessToken":"Fr1h_...",}


    #PlatformSDK

    ------------------------------
    Michael Shrall
    Director, Product Management
    ------------------------------