React Application Taking long time for tokenexchange

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

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