-
Notifications
You must be signed in to change notification settings - Fork 927
PM-26575: Add AuthTab support for WebAuthN, Duo, and SSO #6002
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
|
Great job! No new security vulnerabilities introduced in this pull request |
7fe1262 to
8818d34
Compare
| AuthTabIntent.Builder().build().launch(launcher, uri, "bitwarden") | ||
| } else { | ||
| // Fall back to a Custom Tab. | ||
| startCustomTabsActivity(uri = uri) |
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.
- Were you able to test browsers compatibility?
- When AuthTab is used, is there any visual indication of it?
- 💭 Perhaps we could log to FlightRecorder if AuthTab was used.
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.
cad5cb3 to
85e4005
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6002 +/- ##
=======================================
Coverage 84.59% 84.60%
=======================================
Files 722 722
Lines 54882 54894 +12
Branches 7569 7578 +9
=======================================
+ Hits 46426 46441 +15
+ Misses 5805 5796 -9
- Partials 2651 2657 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Can we either write a few tests for this, or omit it from coverage?
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.
I added tests for the DuoUtils... I didn't realize it had none.
Tests for the AuthTabIntent.AuthResult have been omitted since mockking it is problematic.
85e4005 to
4ac247b
Compare
|
Thanks @SaintPatrck |



🎟️ Tracking
PM-26575
📔 Objective
This PR adds support for
AuthTabswhen logging in with Duo, WebAuthn, and SSO login flows.⏰ 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