Get id_token in response in when refreshing token #407
-
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.
Replies: 1 comment
-
I don't think there should be a
You need to subclass |
Beta Was this translation helpful? Give feedback.
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
.