Skip to content

Conversation

mstott2
Copy link

@mstott2 mstott2 commented Jul 14, 2025

Similar to #342. Allows programs to better distinguish and act on issuer mismatch errors.

When working with the OIDC client, I want to check for different oidc.NewProvider failures for more intelligent error handling and determining response codes. For issuer mismatch errors, I currently need to rely on string matching to differentiate these from other cases, but it would be preferable to have a typed error for better comparison checks and more easily access the expected and actual issuer values.

mstott2 added 2 commits July 14, 2025 16:24
Enables OIDC implementations to better distinguish and act on issuer mismatch errors
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.

1 participant