Skip to content

Files

Latest commit

 

History

History
29 lines (18 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.03 KB

Auth0 integration for React + TS + .NET Core

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.

Installation

Client app

  1. Configure Auth0. Create a new application in Auth0 and update .env file with your domain, client_id and audience(create API in Auth0).

  2. Run

cd client
npm install
npm start

API

  1. Make sure you have created API in Auth0
  2. Configure Auth0 authority and audience in appsettings.json

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.