Support for JWT Header TYP as "at+jwt" #13185
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
This is a follow-up issue:
Expected Behavior
Currently, if the JWT is having typ as "at+jwt", the token is rejected with message "Failed to authenticate since the JWT was invalid". Spring Security Oauth2 Resource Server with JWT as bearer token should accept typ as "at+jwt" as well.
Current Behavior
Currently, if the JWT is having typ as "at+jwt", the token is rejected with message "Failed to authenticate since the JWT was invalid".
My Authorization server is issuing JWT access token with typ as "at+jwt" as per the following draft:
https://www.rfc-editor.org/rfc/rfc9068.html
How has this issue affected you?
JWT token is rejected although this is correct as per Authorization server
What are you trying to accomplish?
Validate JWT Bearer token using Spring Security OAuth2 Resource Server capabilities.
What other alternatives have you considered?
Ugly workaround (custom JWT decoder).
Are you aware of any workarounds?
Custom JWT decoder (quite cumbersome).
The text was updated successfully, but these errors were encountered: