Get id_token in response in when refreshing token #407
Answered
by
lepture
joshuajiniran
asked this question in
Q&A
-
So, I have this challenge to figure out, where I had to limit the expiration time of the token. When I call /oauth2/token endpoint and pass in the refresh_token grant_type, it returned a new access_token but not with id_token. any guide or help on how to implement this?
Any help with guide will be appreciated |
Beta Was this translation helpful? Give feedback.
Answered by
lepture
Nov 27, 2021
Replies: 1 comment
-
I don't think there should be a
You need to subclass |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lepture
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think there should be a
id_token
withrefresh_token
grant type. But if you really want to add that, you can add an extension for refresh token:You need to subclass
authlib.oidc.core.grants.OpenIDToken
.