# React Application Taking long time for tokenexchange

**URL:** <https://devforum.okta.com/t/react-application-taking-long-time-for-tokenexchange/14469>\
**Category:** Questions\
**Tags:** react\
**Created:** [June 1, 2021, 10:03am UTC](https://devforum.okta.com/t/react-application-taking-long-time-for-tokenexchange/14469 "2021-06-01T10:03:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@phani](https://devforum.okta.com/u/phani)\
**Post date:** [June 1, 2021, 10:03am UTC](https://devforum.okta.com/t/react-application-taking-long-time-for-tokenexchange/14469/1 "2021-06-01T10:03:03Z")

</div>

HI Team,  
we are using okat sso in react application , using @okta/okta-react version 5.1.2. taking 25 sec for token exchange and redirection to our app, is there any way we can reduce time. Please suggest

---

<div class="post-metadata">

**Author:** ![phani](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@phani](https://devforum.okta.com/u/phani)\
**Post date:** [June 16, 2021, 5:47am UTC](https://devforum.okta.com/t/react-application-taking-long-time-for-tokenexchange/14469/2 "2021-06-16T05:47:22Z")

</div>

Hello Team, I still having this issue , can some one suggest on how we can improve the performance of token exchange and redirection time , its still taking 15-25 sec for token exchange and redirect to our application login page. Please suggest

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 6:30pm UTC](https://devforum.okta.com/t/react-application-taking-long-time-for-tokenexchange/14469/3 "2024-02-08T18:30:33Z")

</div>

Closed on February 8, 2024, 6:30pm UTC


