react-express-auth0-sample
Usage
Set up
This repository is a moporepo with Yarn. So you have to use yarn
insted of npm
.
yarn install
Start
yarn backend:start # nodeamon
yarn frontend:start # react-scripts start
Others
Please read this entry.
- Auth0 による認証を React + Express で実装する(In prgress)
Required Environment variables
Backend
- AUTH0_AUDIENCE
- AUTH0_CLIENT_ID
- AUTH0_CLIENT_SECRET
- AUTH0_DOMAIN
Frontend
- REACT_APP_AUTH0_AUDIENCE
- REACT_APP_AUTH0_CLIENT_ID
- REACT_APP_AUTH0_DOMAIN