Skip to main content
Version: 7.1.X

getSession(req, res, options)


  • req
    • type: Express.Request
  • res
    • type: Express.Response
  • options (Optional)
    • type: {antiCsrfCheck?: boolean, sessionRequired?: boolean}


  • Promise<Session>


  • If the session does not exist and sessionRequired is not false
  • If the access token has expired, we need to try the refresh token.
What type of UI do you want to use?
Custom UI
Pre built UI