Skip to content

Add missing 'else' at JwtSecurityTokenHandler.cs:1384 so that IssuerS…#3519

Merged
fre-berhane merged 1 commit into
dev8xfrom
freberhane/JWTSecurityFix-8x
Jun 2, 2026
Merged

Add missing 'else' at JwtSecurityTokenHandler.cs:1384 so that IssuerS…#3519
fre-berhane merged 1 commit into
dev8xfrom
freberhane/JWTSecurityFix-8x

Conversation

@fre-berhane
Copy link
Copy Markdown

Fix missing else keyword in JwtSecurityTokenHandler key resolution

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • If any gains or losses in performance are possible, you've included benchmarks for your changes. More info
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)

Description

Add missing 'else' at JwtSecurityTokenHandler.cs:1384 so that IssuerSigningKeyResolverUsingConfiguration takes priority over IssuerSigningKeyResolver and default kid-based resolution, matching the documented contract and the correct behavior already present in JsonWebTokenHandler.

Fixes #{bug number} (in this specific format)

…igningKeyResolverUsingConfiguration takes priority over IssuerSigningKeyResolver and default kid-based resolution, matching the documented contract and the correct behavior already present in JsonWebTokenHandler.
@fre-berhane fre-berhane requested a review from a team as a code owner June 2, 2026 15:45
@fre-berhane fre-berhane merged commit 3dba199 into dev8x Jun 2, 2026
2 checks passed
This was referenced Jun 3, 2026
This was referenced Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants