You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging I added some print statements to ../site-packages/oauth2_provider/views/mixins.py under OAuthLibMixin.get_oauthlib_core and it is printing out the following
SERVER - <oauthlib.openid.connect.core.endpoints.pre_configured.Server object at 0x10302f6a0>
SERVER REFRESH - <oauthlib.oauth2.rfc6749.grant_types.refresh_token.RefreshTokenGrant object at 0x103054430>
So my server class is using the openid server class, which I presume is correct. But should the server.refresh_grant not be oauthlib.openid.connect.core.grant_types.refresh_token.RefreshTokenGrant?
What am I doing wrong?
Any guidance would be gratefully received.
The text was updated successfully, but these errors were encountered:
I really like the library, so thanks for all the great work.
I am probably doing something wrong here, but I cannot seem to get the ID Token to refresh.
I saw that someone else raised a similar question 1339 and it has been closed as solved, but the answer did not help me.
In my settings file under OAUTH2_PROVIDER, I have
OIDC_ENABLED
set to `True.When I go through the authorization flow and grab a token, i do indeed receive an access, a refresh and an id token,
But when I attempt the refresh, I receive only a new access token
While debugging I added some print statements to
../site-packages/oauth2_provider/views/mixins.py
underOAuthLibMixin.get_oauthlib_core
and it is printing out the followingSo my server class is using the openid server class, which I presume is correct. But should the
server.refresh_grant
not beoauthlib.openid.connect.core.grant_types.refresh_token.RefreshTokenGrant
?What am I doing wrong?
Any guidance would be gratefully received.
The text was updated successfully, but these errors were encountered: