This project was bootstrapped with Create React App.
-
Configure your React app in the Auth0 Dashboard as outlined in the course.
-
Create a .env file in the project root (same directory as package.json) that contains the following:
REACT_APP_AUTH0_DOMAIN=YOUR AUTH0 DOMAIN HERE
REACT_APP_AUTH0_CLIENT_ID=YOUR AUTH0 CLIENT ID HERE
REACT_APP_AUTH0_CALLBACK_URL=http://localhost:3000/callback
- Run the following:
npm install
npm start