<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
0D50Z00008G7VFeSANOkta Classic EngineIntegrationsAnswered2018-09-05T01:27:39.000Z2017-08-18T01:40:43.000Z2017-08-18T01:40:43.000Z
How do I get refresh_token using id_token I have received in authorization_code grant?
I am using PHP language and doing an authorization_code grant. It returns with the code and then I can get access_token. Now how do I get the refresh token using the access_token or id_token or authorization code using /oauth2/v1/token  endpoint?

  • Thank you for contacting Okta Support.

     

    As far as I could find in our documentation and browsing through the API calls from Postman, it seems that you can get the Access Token with the Refresh Token, but I don't think it works vice versa. This is the documentation I found regarding this question: https://developer.okta.com/standards/OAuth/index#refresh-token

    For further assistance, please open a Support ticket.

     

    Thank you,

    Paul Auer

    Technical Support Engineer | Okta

    Expand Post
This question is closed.
Loading
How do I get refresh_token using id_token I have received in authorization_code grant?