A React App implementing the Embbeded Login Flow (Username + Password).
🚀 Live Version - Deployed on NETLIFY
- Authentication and Authorization on Auth0 Server.
- Completely bypasses the Universal Login Flow.
- User Profile Page - Displays username, name, picture and email.
- A dummy home page with some placeholder animation.
- The basic Login and Logout functionality with route protection.
- Clone the repo.
- Install dependences directory.
npm install
. - Create a file in
.env
and add the following code.
REACT_APP_CLIENT_ID = CLIENT_ID_FROM_AUTH0
REACT_APP_DOMAIN = DOMAIN_ID_FROM_AUTH0
REACT_APP_CONNECTION = DATABASE_NAME
- Install dotenv as a dev-dependency.
npm i --save-dev dotenv
. - Start the App from the root directory by
npm run start
. - Go to
http://localhost:3000
.