Auth0WithExpressJS
Auth0WithExpressJS copied to clipboard
A small project with 3 accounts mapped to 3 resources using auth0 as an authentication service.
Auth0WithExpressJS
Quickstart
- install dependencies for backend and start backend
cd Auth0WithExpressJS/Back && npm start - install dependencies for frontend and start frontend (brower should open automacially)
cd Auth0WithExpress/Front && npm start - click on log in button
- log in with credentials from \Docs\testCreds.md
- click on show messages button (IMPORTANT)
- click on the log out button
Important notes
- This code is built and tested with node V14.17.0 and npm 6.14.13
- Configuration for Auth0 is at Front/src/App.js and /Back/.env
- Backend returns a long String of all the messages joined by | symbol