<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009hZMUgCAOOkta Classic EngineAuthenticationAnswered2024-10-28T09:00:45.000Z2023-09-27T16:32:16.000Z2023-09-28T15:40:02.000Z

66yih (66yih) asked a question.

React Okta SDK not making refresh token call automatically

Hi Okta Team,

 

I have integrated okta_auth_js to my react application. After login using Okta Sign in widget (okta SDK), okta SDK should automatically renew the okta_token_storage_accessToken and okta_token_storage_idToken upon the expiry of access token. These tokens stored in the cookie by the token manager. But it is not happening in my case. Below I'm providing the versions and configuration screenshots I've provided. Can someone please advise?

 

Image is not available


  • Hi @66yih (66yih)​ , Thank you for reaching out to the Okta Community! 

     

     This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out devforum.okta.com to take advantage of their expertise.  

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work). 

     

    I was unable to find any similar reports besides this old Github post which might not be relevant. That is why recommend reaching out to my Developer colleagues.  

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

    --------------------------------

    Headed to Oktane? Here's what you can expect, plus all the Okta tips you may have missed this month

    Expand Post
This question is closed.
Loading
React Okta SDK not making refresh token call automatically