Skip to content

Get id_token in response in when refreshing token #407

Answered by lepture
joshuajiniran asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think there should be a id_token with refresh_token grant type. But if you really want to add that, you can add an extension for refresh token:

server.register_grant(RefreshTokenGrant, [OpenIDToken()])

You need to subclass authlib.oidc.core.grants.OpenIDToken.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lepture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants