-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-8107] Remove Duo v2 from server #4934
Conversation
…thub.com/bitwarden/server into auth/pm-6666/twofactorvalidator-refactor
removed unused code
This comment was marked as off-topic.
This comment was marked as off-topic.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4934 +/- ##
==========================================
+ Coverage 42.68% 43.06% +0.38%
==========================================
Files 1406 1404 -2
Lines 65090 64713 -377
Branches 5969 5925 -44
==========================================
+ Hits 27782 27869 +87
+ Misses 36063 35610 -453
+ Partials 1245 1234 -11 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice start on these changes! A bit more testing would be great!
src/Core/Auth/Services/Implementations/DuoUniversalConfigService.cs
Outdated
Show resolved
Hide resolved
I've updated the description with current screen recordings. |
updating docs
fixing spelling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice work. Thanks for all your efforts adding to our test coverage!
/// OrganizationDuo and Duo TwoFactorProviderTypes both use the same flows so both of those Token Providers will | ||
/// have this class injected to utilize these methods | ||
/// </summary> | ||
public interface IDuoUniversalTokenService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking Suggestion: we should generally keep interfaces and implementations in separate files for separation of concerns.
🎟️ Tracking
PM-8107
Blocked By: #4894
📔 Objective
We are moving away from Duo Version 2 artifacts in our code. This aims to removes the last visages of Duo Version 2 from models, objects, and token providers.
A notable change is the Duo two-factor token, and organization token) have been renamed to better align with verbiage from Duo: name change to "Universal" instead of "web".
📸 Screenshots
Enable Duo / Disable - Show data validation and successful save (11/14/24 update)
msedge_MZYLgryruJ.mp4
Enabled Duo - Correct input validation -> Bad config error (Duo.Client.DoHealthCheck() fails) (11/14/24 update)
msedge_caLHcLAn8o.mp4
Login with Duo (11/14/24 update)
msedge_OaHc8O6bDM.mp4
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes