Skip to content
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

[Feature Request] Introduce a new flag on TokenValidationParameters and use it to skip checking for the existence of kid during signature validation #2938

Open
sruke opened this issue Oct 23, 2024 · 0 comments
Labels
Internal Indicates issue was opened by the IdentityModel team

Comments

@sruke
Copy link
Contributor

sruke commented Oct 23, 2024

Add a new boolean property named SkipKidCheck to the TokenValidationParameters class to allow skipping the check for the existence of kid during signature validation. Update the conditional logic to bypass the kid check if this new property is set to true. Should be set to false by default.

Relevant code: here if the new TVP is set.

@jennyf19 jennyf19 added the Internal Indicates issue was opened by the IdentityModel team label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Indicates issue was opened by the IdentityModel team
Projects
None yet
Development

No branches or pull requests

2 participants