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

Validate issuer when retrieving discovery document #11

Open
JuliusPC opened this issue Apr 21, 2021 · 0 comments
Open

Validate issuer when retrieving discovery document #11

JuliusPC opened this issue Apr 21, 2021 · 0 comments

Comments

@JuliusPC
Copy link
Owner

From the OIDC Discovery spec, section 4.3. OpenID Provider Configuration Validation:

If any of the validation procedures defined in this specification fail, any operations requiring the information that failed to correctly validate MUST be aborted and the information that failed to validate MUST NOT be used.

The issuer value returned MUST be identical to the Issuer URL that was directly used to retrieve the configuration information. This MUST also be identical to the iss Claim value in ID Tokens issued from this Issuer.

This library does not validate this in getWellKnownConfigValue().

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

No branches or pull requests

1 participant