Skip to content
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

Make EnforcePKCE confurable #1577

Closed
damienbr opened this issue Sep 23, 2019 · 4 comments
Closed

Make EnforcePKCE confurable #1577

damienbr opened this issue Sep 23, 2019 · 4 comments
Labels
feat New feature or request.

Comments

@damienbr
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In the context of PKCE, we would like to configure hydra to enforce it.

Describe the solution you'd like
There is a parameter in hydra that is hardcoded with 'false' as a value.
We could make it configurable.

Describe alternatives you've considered

Should that parameter be configurable per client or for the whole system?

@damienbr
Copy link
Contributor Author

damienbr commented Sep 23, 2019

registry_base.go#L233

@aeneasr
Copy link
Member

aeneasr commented Sep 23, 2019

Open to a PRs - I think globally makes most sense here

@aeneasr aeneasr added the feat New feature or request. label Sep 23, 2019
@dteoh
Copy link

dteoh commented Feb 25, 2020

I tried setting OAUTH2_PKCE_ENFORCED to "true" and "1", and tried to see what would happen if I did not send the code_challenge and code_challenge_method parameters. To my surprise, no error was raised.

After looking through the codebase, I see that EnforcePKCE is not actually used anywhere, it is a write-only variable.

@aeneasr
Copy link
Member

aeneasr commented Feb 28, 2020

I'm closing this issue because the feature was implemented. If you have a problem with this feature, please open a new issue and fill out the issue template as important information, like the software version, are missing.

@aeneasr aeneasr closed this as completed Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants