Authentication
Advanced Topics
Authentication Routes

Routes for authentication

ROQ provides a wrapper which adds these four routes into your application:

PathDescription
/loginSecure redirect to the managed login page
/logoutClears the session token from the cookies and invalidates active refresh tokens.
/sessionEndpoint to check the validity of the session token
/callbackHandles the callback from the hosted login page after successful authentication