http://localhost:3000/callback
.http://localhost:3000/
.auth
router in order to attach authentication routes
to your application. You will need to configure the router with the following configuration keys:authRequired
- Controls whether authentication is required for all routes.auth0Logout
- Uses Auth0 logout feature.baseURL
- The URL where the application is served.secret
- A long, random string.issuerBaseURL
- The Domain as a secure URL found in your Application settings.clientID
- The Client ID found in your Application settings.LONG_RANDOM_STRING
using
openssl rand -hex 32
on the command line./login
route provided by the
library. If you are running your project on localhost:3000
, that link would be http://localhost:3000/login.requiresAuth
middleware for routes that require authentication. Any route using this
middleware will check for a valid user session and, if one does not exist, it will redirect the user to log in./logout
route provided by the
library. If you are running your project on localhost:3000
, that link would be http://localhost:3000/logout.