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?

@okta/okta-auth-js”: “^6.5.1”,
@okta/okta-react”: “^6.4.3”,
@okta/okta-signin-widget”: “^6.3.3”





Hello,

In the first screen shot refresh_token is not selected under the grant types.

Once this is checked make sure that the React app is including the offline_access scope in the Okta configuration along with the others scopes requested.

Thank You,

1 Like

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