Skip to main content
Version: 7.0.X
caution

This method has been deprecated as of version 6.1.X, use the getSessionInformation function instead.

getJWTPayload(sessionHandle)

Parameters#

  • sessionHandle
    • type : string

Returns#

  • Promise<any> returns jwt payload as provided by the user earlier.

Throws#

  • If the sessionHandle does not exist
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react