Skip to content

Conversation

@gkemmey
Copy link

@gkemmey gkemmey commented Nov 27, 2025

Summary

Introduce a new require_pkce_for hook that determines, per client, whether PKCE is required, defaulting to the current force_pkce behavior.

You can force PKCE universally with force_pkce, or replicate the old behavior for non-confidential clients using:
require_pkce_for { |client| client && !client.confidential? }

Introduce a new `require_pkce_for` hook that determines, per client, whether
PKCE is required, defaulting to the current `force_pkce` behavior.

You can force PKCE universally with `force_pkce`, or replicate the old behavior
for non-confidential clients using:
`require_pkce_for { |client| client && !client.confidential? }`
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.

1 participant