doorkeeper-gem / doorkeeper-openid_connect

OpenID Connect extension for Doorkeeper
MIT License
173 stars 114 forks source link

Add PKCE support to OpenID discovery endpoint #180

Closed stanhu closed 1 year ago

stanhu commented 1 year 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 1 year ago

@nbulaj Done!

stanhu commented 1 year ago

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

nbulaj commented 1 year ago

Released as 1.8.3