This guide walks you through setting up your Auth0 tenant to use with the template's authentication feature.
- An Auth0 account (you can sign up at auth0.com)
- Access to your Auth0 dashboard
- In your Auth0 dashboard, go to
Applications > APIs
- Click
+ Create API
- Fill in the following:
- Name: (your preferred name)
- Identifier (Audience): keep the default value or use your own domain if you want
- Save the API Identifier (Audience) - you'll need this later (you can find it under the "settings" section of your application like in the picture below)
- Go to
Applications > Applications
- Click
+ Create Application
- Select
Single Page Application
- Name it
Rave Frontend
(or your preferred name) - Go to the application settings
- Under
Application Properties
:- Note down the
Client ID
- Note down the
Client Secret
- Note down the
Domain
- Note down the
- Under
Application URIs
:- Allowed Callback URLs:
http://localhost:3000/callback
- Allowed Logout URLs:
http://localhost:3000
- Allowed Web Origins:
http://localhost:3000
- Allowed Callback URLs:
Add the following environment variables to your backend: