Auth0 Home Blog Docs

Auth0-react-samples: Uncaught SyntaxError: Unexpected identifier


#1

Hi I cloned https://github.com/auth0-samples/auth0-react-samples
I modified the domain and client id in the auth0-variables.js file, using the values from the application page.
Then I added http://localhost:3000/callback in the Allowed Callback URLs section.
I installed the dependencies and run the app.
When I click on login I am forwarded to the right domain but I see a blank page and Uncaught SyntaxError: Unexpected identifier as an error in the console.

I also tried the following:
I accessed the Auth0 username/password database (Connections->Database).
Clicked on Try Connection.
Got the same error.

This problem started yesterday (last day of legacy api).
Any help would be appreciated.


#2

There was a typing error in our hosting page which caused this error.
Thx