We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Which version of Microsoft.IdentityModel are you using? 8.0.0
Where is the issue?
Is this a new or an existing app? App trying to use decrypt keys from the OIDC configuration
Repro
var your = (code) => here;
Expected behavior If the key from the JWE token is not present in the TokenValidationParameters, attempt to use the decrypt keys in the configuration
Actual behavior the configuration is not attempted as it's not passed to DecryptToken
TokenValidationResult tokenValidationResult = ReadToken(DecryptToken(jwtToken, validationParameters), validationParameters);
Possible solution Use the right override of DecryptToken from that accepts the configuration
- TokenValidationResult tokenValidationResult = ReadToken(DecryptToken(jwtToken, validationParameters), validationParameters); + TokenValidationResult tokenValidationResult = ReadToken(DecryptToken(jwtToken, validationParameters, configuration), validationParameters);
Used for auto-decrypt
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Which version of Microsoft.IdentityModel are you using?
8.0.0
Where is the issue?
Is this a new or an existing app?
App trying to use decrypt keys from the OIDC configuration
Repro
Expected behavior
If the key from the JWE token is not present in the TokenValidationParameters, attempt to use the decrypt keys in the configuration
Actual behavior
the configuration is not attempted as it's not passed to DecryptToken
Possible solution
Use the right override of DecryptToken from that accepts the configuration
Used for auto-decrypt
The text was updated successfully, but these errors were encountered: