-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting refresh token in oauth/token api #78
Comments
@ZTAP0011 can you send your curl command? Which grant_type are you using? |
Hello @lepture , I am sending authrization_code in grant type. But this is the first time we request for the oauth token and not to get a new token from a refresh token. |
Are you using this demo without any change? I've just verified, this demo works fine. |
Yes, I am using this to get the access and refresh token But in response I only get access token and not the refresh token. |
Did you give the I ran into the same problem and the reason was that Authlib refuses to even generate a refresh token if the client doesn't have the |
I am calling /oauth/token to generate the token by passing the code. I set OAUTH2_REFRESH_TOKEN_GENERATOR=True in my flask app config. But I only get access_token in the response but not refresh_token.
The text was updated successfully, but these errors were encountered: