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

Consider Enabling PKCE for Authorization Code by Default #16391

Open
Tracked by #16378
rwinch opened this issue Jan 9, 2025 · 0 comments
Open
Tracked by #16378

Consider Enabling PKCE for Authorization Code by Default #16391

rwinch opened this issue Jan 9, 2025 · 0 comments
Milestone

Comments

@rwinch
Copy link
Member

rwinch commented Jan 9, 2025

PKCE is recommended to prevent CSRF and authorization code injection attacks. We should consider enabling enabling PKCE for authorization_code flows by default to ensure we have secure defaults.

In order to ensure this goes as smoothly as possible, I think that we would need to:

  • Ensure it is easy to disable in the event that it breaks users
  • Align the Authorization Server

NOTE: This is a breaking change, so it would need to be done with Spring Security 7.0.

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

No branches or pull requests

1 participant