doorkeeper-gem / doorkeeper-openid_connect

OpenID Connect extension for Doorkeeper
MIT License
175 stars 117 forks source link

Add PKCE support to OpenID discovery endpoint #180

Closed stanhu closed 2 years ago

stanhu commented 2 years ago

RFC 8414 Section 2 (https://www.rfc-editor.org/rfc/rfc8414#section-2) says code_challenge_methods_supported must be listed to indicate that the authorization server supports PKCE. Doorkeeper only supports plain and S256, so return that if PKCE is enabled.

stanhu commented 2 years ago

@nbulaj Done!

stanhu commented 2 years ago

@nbulaj Thanks for the merge! Would you mind releasing a new version?

nbulaj commented 1 year ago

Released as 1.8.3