<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
0D51Y00008cglbhSAAOkta Classic EngineDevices and MobilityAnswered2023-08-18T07:03:39.000Z2020-06-01T16:35:58.000Z2020-06-08T23:22:46.000Z

SushmaN.16620 (Customer) asked a question.

refresh token does not expire the previous token - Mobile Native apps

am creating a token using

URL: https://dev-325388.okta.com/oauth2/default/v1/token

and refreshing the token using refresh_token in the post request and also grant_type as refresh_token with refresh_tokenID sent from the previous call. The refresh token generates a new access _token and returns the same refresh_tokenID but the previous access_tokenID is active

 


  • Hi Sushma,

     

    Refresh token procedure is used to generate new tokens in order to keep the single sign-on to a specific client. If you would like to revoke access tokens, the best solution is to use the /revoke endpoint.

     

    Dragos Gaftoneanu

    Developer Support Engineer

    Okta Global Customer Care

    Expand Post
This question is closed.
Loading
refresh token does not expire the previous token - Mobile Native apps
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