manga1a / react-auth0

Authentication and authorization in React with Auth0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Create React App.

Quick Start

  1. Configure your React app in the Auth0 Dashboard as outlined in the course.

  2. 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
  1. Run the following:
npm install
npm start

About

Authentication and authorization in React with Auth0


Languages

Language:JavaScript 88.1%Language:HTML 7.5%Language:CSS 2.9%Language:Shell 1.5%