Switching to Auth0

Switching to Auth0
03-third-party-auth.zip
5.37 MB
Run the App and API
2 mins
Why Use a Third-Party Auth Provider?
6 mins
Sign Up for an Auth0 Account
3 mins
Configure Application URLs
2 mins
Create a User in Auth0
3 mins
Set Up an API and Permissions
4 mins
Add User Roles in Auth0
2 mins
Use the Universal Login Screen
2 mins
Install the Auth0-React SDK
6 mins
Redirect Users to Auth0 to Log In
3 mins
Use isLoading to Wait for Authentication
5 mins
Use isAuthenticated to Check Auth Status
2 mins
Get an Access Token from Auth0
7 mins
Use a JWKS Verification Middleware
6 mins
Augment the User's Profile with a Rule
7 mins
Use the Auth0 Role in the React App
3 mins
Request Scopes for an Access Token
8 mins
Apply Scope Check Middleware to Endpoints
3 mins
Add a Custom User ID with an Auth0 Rule
10 mins
Allow Users to Log Out
3 mins
Display the User's Name and Picture
2 mins
Remove AuthContext, Login, and Signup
4 mins
Renew Access Tokens
6 mins