- cookie-parser
- passport
- passport-auth0
- dotenv
- express-session
- connect-ensure-login
These steps assume that you've created a client app within Auth0
- Create a
.envfile at the root of your file structure and put the following variables in, do not put quotes around your valuesAUTH0_CLIENT_ID=[ID_HERE]AUTH0_DOMAIN=[your-sub-domain].auth0.comAUTH0_CLIENT_SECRET=[CLIENT_SECRET_HERE] - Update the
index.handlebarfile, replace the first argument afterAuth0Lockwith your updated Client_ID and update your domain where appropriate - If necessary, update the redirect URL for your environment
- Located in:
- server.js
- views/index.handlebars
- routes/index.js