<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00007pKPMLCA4Okta Classic EngineAuthenticationAnswered2022-07-20T15:08:02.000Z2022-07-18T16:24:51.000Z2022-07-20T15:08:02.000Z

RyanN.83801 (Customer) asked a question.

Is it possible to have offline_access behavior without refreshing token

We are migrating from ADFS to Okta and are using Okta-React npm package to connect to a SPA okta application that uses OIDC. We have behavior where we want to stay on the page when the access token expires, and I was partially able to replicate it using Okta through offline_access. However, offline_access is only usable when refresh_token is enabled. But when we use refresh_token, our okta access session never seems to expire. We have a custom auth server set up with access_policy. Our access token lifetime is set to 15 minutes, refresh token lifetime set to 30 minutes, and [but will expire if not used every] set to 1 hour.

What is the difference between refresh token lifetime and [but will expire if not used every] ?


This question is closed.
Loading
Is it possible to have offline_access behavior without refreshing token
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply