Learn AI, Data Science & Business — Earn Certificates That Get You Hired
2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial shows how to add Auth0 authentication to a React single-page application. It covers creating an Auth0 application, configuring environment variables and the provider context, adding login and logout controls, displaying a profile, and handling loading and error states.
Syllabus
Intro
Welcome
Create an Auth0 account and app
Install the Auth0 npm package
Environment variables
Auth0Provider context
Create login and logout buttons
App component
Testing the login and logout buttons
Profile component
Auth0 loading and error states
Auth0 - Good or Bad
Taught by
Dave Gray