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

feat(op): PKCE Verification in Legacy Server when AuthMethod is not NONE and CodeVerifier is not Empty #496

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Conversation

andar1an
Copy link
Contributor

@andar1an andar1an commented Dec 5, 2023

Related to Issue 254 and Issue 6886

Authorization Code + PKCE is the most secure and commonly recommended authentication method when referencing many Social Providers and IDP's.

This change is primarily to enable PKCE verification when using Code method - how this will be implemented will be determined internally by Zitadel team (e.g. an option in current method, or a new method a user can choose).

Definition of Ready

  • I am happy with the code
  • Short description of the feature/issue is added in the pr description
  • PR is linked to the corresponding user story
  • Acceptance criteria are met
  • All open todos and follow ups are defined in a new ticket and justified
  • Deviations from the acceptance criteria and design are agreed with the PO and documented.
  • No debug or dead code
  • My code has no repetitions
  • Critical parts are tested automatically
  • Where possible E2E tests are implemented
  • Documentation/examples are up-to-date
  • All non-functional requirements are met
  • Functionality of the acceptance criteria is checked manually on the dev system.

pkg/op/server_legacy.go Outdated Show resolved Hide resolved
@muhlemmer muhlemmer self-requested a review December 6, 2023 10:03
Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3a4d44c) 60.39% compared to head (192bcd9) 60.51%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #496      +/-   ##
==========================================
+ Coverage   60.39%   60.51%   +0.11%     
==========================================
  Files          78       78              
  Lines        6797     6797              
==========================================
+ Hits         4105     4113       +8     
+ Misses       2397     2386      -11     
- Partials      295      298       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@muhlemmer muhlemmer changed the title PKCE Verification in Legacy Server when AuthMethod is not NONE and CodeVerifier is not Empty feat(op): PKCE Verification in Legacy Server when AuthMethod is not NONE and CodeVerifier is not Empty Dec 7, 2023
@muhlemmer muhlemmer merged commit 9d12d1d into zitadel:main Dec 7, 2023
8 checks passed
Copy link

github-actions bot commented Dec 7, 2023

🎉 This PR is included in version 3.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants