Skip to content

Allow missing client to trigger invalid client error when force_pkce is enabled - #1762

Merged
nbulaj merged 1 commit into
doorkeeper-gem:mainfrom
gkemmey:allow-invalid-client-when-force-pkce
Jan 31, 2025
Merged

Allow missing client to trigger invalid client error when force_pkce is enabled#1762
nbulaj merged 1 commit into
doorkeeper-gem:mainfrom
gkemmey:allow-invalid-client-when-force-pkce

Conversation

@gkemmey

@gkemmey gkemmey commented Jan 27, 2025

Copy link
Copy Markdown
Contributor

Currently, the force_pkce handling is treating a missing client as a non-confidential client and forcibly validating the code_verifier param. This updates the conditional to only force_pkce if the client is present.

…is enabled

Currently, the force_pkce handling is treating a missing client as a
non-confidential client and forcibly validating the code_verifier param. This
updates the conditional to only force_pkce if the client is present.
@gkemmey
gkemmey force-pushed the allow-invalid-client-when-force-pkce branch from a9924b8 to bc3310f Compare January 27, 2025 22:24

@nbulaj nbulaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense to me, thanks!

@nbulaj
nbulaj merged commit ecf943d into doorkeeper-gem:main Jan 31, 2025
@gkemmey
gkemmey deleted the allow-invalid-client-when-force-pkce branch January 31, 2025 16:02
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.

2 participants