Skip to main content
Version: 7.2.X

refreshSession(req, res)

Parameters#

Parameters#

  • req
    • type: Express.Request
  • res
    • type: Express.Response

Returns#

  • Promise<Session> on successful session refresh.

Throws#

  • An unauthorised error if a session doesn't exist
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react