Skip to content

annajanicka/auth0-react-typescript-netcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example app with Auth0 with React, TypeScript and .NET Core

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published