Auth0 login/signup gets stuck on a first login to infinite loading

Hi, I have a really annoying problem.

Everytime a user is logging in or signs up, at first it stucks on “infinite loading” and gives error:

After I hit “refresh” on a browser it lets the user to access the application.

Auth0 don’t set keys in the right way for some reason at the moment?

Any idea what could cause this?

my package.json is:

“name”: “auth0-react-01-login”,
“version”: “0.1.0”,
“private”: true,
“scripts”: {
“start”: “react-scripts start”,
“build”: “react-scripts build”,
“test”: “react-scripts test”,
“eject”: “react-scripts eject”
“dependencies”: {
@auth0/auth0-spa-js”: “^1.0.2”,

Hey there!

Would you mind opening an GitHub issue in auth0-spa-js repo about that? I think it will be the most effective way to troubleshoot that with the tool maintainers. Let me know if that works for you and share the link to the issue here so I can ping the repo maintainers!


I was able to fix the issue. My issue was based on running my frontend hosted on Render. I switched to Heroku and everything started working well.

Perfect! Glad to hear that! Thanks for sharing that with the rest of community!