# Auth0-react /authorize call slow

**URL:** <https://community.auth0.com/t/auth0-react-authorize-call-slow/92187>\
**Category:** Get Help\
**Created:** [October 11, 2022, 8:57pm UTC](https://community.auth0.com/t/auth0-react-authorize-call-slow/92187 "2022-10-11T20:57:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![claptimes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/claptimes/32/17932_2.png) [@claptimes](https://community.auth0.com/u/claptimes)\
**Post date:** [October 11, 2022, 8:57pm UTC](https://community.auth0.com/t/auth0-react-authorize-call-slow/92187/1 "2022-10-11T20:57:29Z")

</div>

“@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](http://example.com)) not a subdomain. When switching from one app to there app ([example.com](http://example.com) =\> [example.com/welcome](http://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!

---

<div class="post-metadata">

**Author:** ![claptimes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/claptimes/32/17932_2.png) [@claptimes](https://community.auth0.com/u/claptimes)\
**Post date:** [October 13, 2022, 5:34pm UTC](https://community.auth0.com/t/auth0-react-authorize-call-slow/92187/3 "2022-10-13T17:34:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 27, 2022, 5:34pm UTC](https://community.auth0.com/t/auth0-react-authorize-call-slow/92187/4 "2022-10-27T17:34:22Z")

</div>

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