refresh token Skip to main content
https://support.okta.com/help/answers?id=9062a000000xzq3qag&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Alberto PrietoAlberto Prieto 

refresh token

Hi, 

I'm trying the authentication code flow of OpenID Connect, and I'm not getting the refresh_token.

Best regards.
Taylor WellsTaylor Wells (Okta, Inc.)
Information about OpenID Connect can be found in these documents: 
https://developer.okta.com/docs/api/resources/oauth2.html

https://developer.okta.com/docs/api/resources/oidc.html

If you would like more assistance you can contact developer support at developers@okta.com
Anand MogheAnand Moghe
I was having same issue. So I looked at this URL: https://developer.okta.com/docs/api/resources/oidc.html?_ga=1.125946373.968248876.1503010147#token-request

Some questions:
(1) 
So it states that we do not need to setup our Authorization server. So does that mean for my org, I do not need to setup an Authorization server in OKTA and I can use  /oauth2/v1/token  endpoint for getting refresh token ?

(2) Is there a example to retrive the refresh token in PHP?  All I have is client, client crdential, id_token, access_token and authorization_code. Now how will I use this info to fetch the refresh token ?