Uses Express, React, and I'll be taking apart passport next.
If you want to quickly add secure token-based authentication, built on the OpenID Connect standard to your projects, feel free to check Auth0's documentation and free plan at auth0.com/developers |
If running locally, create a .env
file with these values:
JWT_SECRET=y0ur_secret
PORT=5000
REDIRECT_URI=http://localhost:5000/callback
CLIENT_ID=(client_id from a client in your tenant)
CLIENT_SECRET=(client_secret from a client in your tenant)
NON_SECURE_SESSION=true
npm run build
node index.js
Terminal 1 (backend):
npm start
Terminal 2 (frontend):
npm run watch
This project is licensed under the MIT license. See the LICENSE file for more info.