Auth0-react /authorize call slow

@auth0/auth0-react”: “^1.10.0”
“react”: “^18.2.0”

I’m using the same version of auth0-react in two SPAs. They both operate on the same domain (example.com) not a subdomain. When switching from one app to there app (example.com => example.com/welcome) there is sometimes a delay of 8 seconds while the app loads. Many times there is no delay. The app renders a spinner but does not mount the intended component. After 8 seconds, the next call is to the auth0 /authorize endpoint. I can’t tell why this is happening. It seems related to Auth0 but it’s hard to tell why.

Any guidance you could provide would be helpful!

I upgraded to the new version of auth0-react (1.12.0) and it included a fix for my problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.