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

Improved OIDC Discovery #15

Merged

Conversation

christiaangoossens
Copy link
Contributor

@christiaangoossens christiaangoossens commented Apr 26, 2024

Improved the discovery document to be correct.

We only support code and token for grant_types_supported, as this library only supports Auth Code Flow by default and does not add the Implicit Flow and Hybrid Flow grant types (https://openid.net/specs/openid-connect-core-1_0.html#Authentication)

Sorry for the second PR so soon, did not expect you to create a release so fast ;)
Luckily this one can be a patch to 2.2.1 as everything is optional and there is no backwards incompatibility. Default behaviour for scopes is the same.

@christiaangoossens
Copy link
Contributor Author

christiaangoossens commented Apr 26, 2024

Actually seeing #6, should we enable the other grant types automatically when you enable Implicit Grant using the same code as you listed in that issue? After that we can re-add them to discovery.

@christiaangoossens
Copy link
Contributor Author

Okay, not proud of how many commits that took and sorry for the spam, but I am done with this PR. Hopefully it is a bit more spec compliant now, helping everyone! Thank you in advance for your time checking this.

@jeremy379
Copy link
Owner

Hey
Thanks a lot for this PR
Looks good to me

@jeremy379 jeremy379 merged commit 077ca66 into jeremy379:main Apr 26, 2024
1 check passed
@christiaangoossens christiaangoossens deleted the christiaangoossens-patch-2 branch April 26, 2024 17:49
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