8000 Allow missing client to trigger invalid client error when force_pkce is enabled by gkemmey · Pull Request #1762 · doorkeeper-gem/doorkeeper · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

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

Merged

Conversation

gkemmey
Copy link
Contributor
@gkemmey gkemmey commented Jan 27, 2025

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
Copy link
Member
@nbulaj nbulaj left a comment

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
21 checks passed
@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
0