Skip to main content
Version: 7.2.X

updateJWTPayload(sessionHandle, newJWTPayload)

Parameters#

  • sessionHandle
    • type : string
  • newJWTPayload
    • type : any

Throws#

  • Unauthorised error if the sessionHandle doesn't exist
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react