Closed christiaangoossens closed 4 months ago
Actually seeing https://github.com/jeremy379/laravel-openid-connect/issues/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.
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.
Hey Thanks a lot for this PR Looks good to me
Improved the discovery document to be correct.
We only support
code
andtoken
forgrant_types_supported
, as this library only supportsAuth 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.