-
-
Notifications
You must be signed in to change notification settings - Fork 461
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
RFC9068: JWT access token #427
Comments
@azmeuk How about adding it to |
I might tackle this some day, but I won't probably have time to spent on this feature in a near future. |
My ideas on how this can be implemented:
I wonder if we need a What do you think @lepture? |
Sound good to me. And you can use joserfc for JWT purposes. I will replace the authlib.jose module with joserfc. |
Currently we can use
OAUTH2_ACCESS_TOKEN_GENERATOR
to customize access token generation, so this is not too hard to generate JWTs by re-using mechanisms in generate_id_token.However the recent RFC9068 standardize the claims the access token should carry.
I suggest making helpers in authlib to produce those tokens:
What do you think?
The text was updated successfully, but these errors were encountered: