This project was bootstrapped with Create React App. The project was implemented based on the Auth0 documentation. At the time of writing this code, the Auth0 doc doesn't contain any example for TypeScript, which has been implemented in this repo.
Client app
-
Configure Auth0. Create a new application in Auth0 and update
.env
file with your domain, client_id and audience(create API in Auth0). -
Run
cd client
npm install
npm start
API
- Make sure you have created API in Auth0
- Configure Auth0 authority and audience in appsettings.json
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.