Fully working nodejs auth0 application with added UI.
- passport - an authentication middleware for Node.js
- passport-auth0 - an Auth0 authentication strategy for Passport
- express-session - a middleware to manage sessions
- dotenv - a module to load environment variables from a .env file
- Added a beautiful landing page
- My profile dashboard
Install the dependencies and devDependencies and start the server.
$ cd nodejs-Auth0-Demo
$ npm install
$ node app
For production environments...
$ npm install --production
$ NODE_ENV=production node app
- Don't forget to create .env file and add Auth0 domain, api secret and client id.