Hi all!
I just started with Auth0 to use it in the future for my project and I installed the React Quick Start Project.
I followed the steps to configure everything necessary. I get on the login page but after the registration, I’m redirected to a blank page with the message “Oops… Unauthorized”
is the auth_config.json the only file to configure?
{
“domain”: “dev-######.uk.auth0.com”,
“clientId”: “######”,
“audience”: “https://dev-######.uk.auth0.com/api/v2/”,
“appOrigin”: “http://localhost:3000 ”,
“apiOrigin”: “http://localhost:3001 ”
}
1 Like
Hi @francescorovetto ,
Welcome to the Auth0 Community!
If you look at the request in DevTools, do you see any additional information about the error? Is there an error message with more description?
You can also check you Auth0 Dashboard Logs.
Let me know!
1 Like
system
Closed
October 26, 2023, 2:24pm
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
Here’s a possible solution for this error:
I followed the Auth0 quickstart guide for React (Auth0 React SDK Quickstarts: Login ) to the letter and when I create a new user, and attempt to login with that user, it clears the page and just displays “Oops… unauthorized”.
Steps to reproduce:
create an auth0 account
download the React quickstart guide
create an auth_config.json file in the /src folder
fill the ‘domain’ field of auth_config.json with the domain of the Default App. fill ‘clientId’ field with client ID of the Default App. Dele…
1 Like