-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[PM-8220] New Device Verification #5084
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
Conversation
…r to follow logic for new device verification. Updated DeviceValidator to handle new device verification, behind a feature flag. Also move interface to new file. Updated CustomRequestValidator to take the requesting device so we only query the database once. We still query twice but only in legacy.
… for Device Verification.
New Issues
Fixed Issues
|
…xing code so existing tests pass
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5084 +/- ##
==========================================
- Coverage 42.92% 42.90% -0.02%
==========================================
Files 1433 1440 +7
Lines 65672 65948 +276
Branches 6022 6052 +30
==========================================
+ Hits 28191 28298 +107
- Misses 36215 36380 +165
- Partials 1266 1270 +4 ☔ View full report in Codecov by Sentry. |
…fixing formatting
…de all device related processes for request validation.
… a single entry point for BseRequestValidator; Refactored tests for BaseRequestValidator to match changes; Updated Tests for DeviceValidator.
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.
Excellent work. Thank you for all the video tests - appreciate the thoroughness.
🎟️ Tracking
PM-8220
📔 Objective
Continue QoL code improvements on
BaseRequestValidator
.Users will be required to verify logins on unknown devices via email OTP.
Extras: SSO requirement will inform user before they supply two factor authentication.
📸 Screenshots
New Device Verification Required 400 response
firefox_B3x1TyDfJd.mp4
Early SSO Required failure
firefox_V0CnPmZ79t.mp4
SSO Successful
firefox_6PtVtLuiSi.mp4
SSO with Two factor successful
firefox_q2xmSbQa3b.mp4
Two Factor Request with a goof
firefox_O1gA7shwaR.mp4
Successful New Device Verification
firefox_y2EMqRVzXg.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