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

Ignore ordering of openid token in scope parameter #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jimrobinson
Copy link

Change the logic that checks for the "openid" token in the "scope" parameter value to ignore ordering. The Scopes section of the specification appears to only require that "openid" be present in the list, not that it be the first item in the list:

OpenID Connect Basic Client Implementer's Guide 1.0 - draft 47

2.4. Scope Values

https://openid.net/specs/openid-connect-basic-1_0.html#Scopes

Change the logic that checks for the "openid" token in the "scope"
parameter value to ignore ordering.  The Scopes section of the
specification appears to only require that "openid" be present in the
list, not that it be the first item in the list:

OpenID Connect Basic Client Implementer's Guide 1.0 - draft 47

2.4. Scope Values

https://openid.net/specs/openid-connect-basic-1_0.html#Scopes
Copy link

@BenjamenMeyer BenjamenMeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW

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.

None yet

2 participants