<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
0D51Y0000650lqmSAAOkta Classic EngineSingle Sign-OnAnswered2024-04-15T11:18:57.000Z2019-03-26T13:52:27.000Z2020-12-14T23:58:12.000Z

petarl.98681 (Customer) asked a question.

No refresh_token on authorization code flow?

Hello I'm trying to get a refresh token using authorization code flow.

 

my request to the authorize server includes an offline_access scope:

 

https://dev-blahblah.oktapreview.com/oauth2/v1/authorize?client_id={client_id}&scope=openid+offline_access+profile+email&state={state}&response_type=code&redirect_uri={redirect_uri}

 

and after a successful authorization, when I exchange the code for tokens there is no refresh_token. Can you help me and and point out what I'm doing wrong?

 

Thanks in advance!


DaltonW.95253 likes this.
This question is closed.
Loading
No refresh_token on authorization code flow?