-
Notifications
You must be signed in to change notification settings - Fork 259
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
JWT issuer check does not account for encrypted JWTs #591
Comments
Didn't familiarize myself with the changes but an operation where https://tools.ietf.org/html/rfc7519#section-5.3
|
Fair point: the process would then become:
|
2.5 verify claims present in both the unencrypted header and encrypted payload are the same ;) |
The changes in 43a03ab do not seem to account for encrypted JWTs where the id_token
iss
value can only be checked after decrypting the token. Rather than:the process should be changed to:
I believe that in its turn calls for splitting the
from_jwt
method on theIdToken
class into separate decryption and verification methods.The alternative is to rollback this change...
The text was updated successfully, but these errors were encountered: