[Device Pairing Phase 1] Desktop Auth
Categories
(Firefox :: Sync, defect, P1)
Tracking
()
People
(Reporter: eoger, Assigned: eoger)
References
Details
Attachments
(3 files, 5 obsolete files)
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
| Assignee | ||
Comment 5•8 years ago
|
||
| Assignee | ||
Comment 6•8 years ago
|
||
| Assignee | ||
Comment 7•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
| Assignee | ||
Comment 8•7 years ago
|
||
| Assignee | ||
Comment 9•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
| Assignee | ||
Comment 16•7 years ago
|
||
| Assignee | ||
Comment 17•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 20•7 years ago
|
||
| Assignee | ||
Comment 21•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 22•7 years ago
|
||
Patches updated with revamped UX [0] and latest protocol changes [1].
This is ready for final review.
[0] https://www.lucidchart.com/documents/view/9a420c19-1e92-42a5-8eae-908a442c1044/1
[1] https://www.lucidchart.com/documents/edit/1bc1b604-0047-4542-8827-ed8518b0433e
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Comment 23•7 years ago
|
||
Something that just occurred to me here is, do we need to make any changes to the handling of the "fxa_status" webchannel message as part of this work?
When accounts.firefox.com loads in the browser, it sends an "fxa_status" webchannel message to the browser in order to sync up the login state between the browser and web content. The browser code for handling this is here:
We currently have some logic that ignores this message when in private browsing mode, except if the user is trying to access account management from the sync settings page:
IIUC, the pairing authority broker will depend on the "fxa_status" webchannel message in order to ensure it's using the same sessionToken as the browser itself, to do things like check the user's 2FA status. Do we need to add any logic to ensure that "fxa_status" is handled correctly when the user does the pairing flow in a private browsing window?
What we definitely do not want, is to have web content using one sessionToken for its side of the authority flow, and the browser using a different sessionToken for its side of the flow.
Vlad, thoughts on what might be necessary here from the web-content side of things?
Comment 24•7 years ago
|
||
(In reply to Ryan Kelly [:rfkelly] from comment #23)
We looked at this and it looks pretty good. Basically the plan is to add a signal that it's a pairing flow (just like we signal 'sync' at this moment) for the fxa status message.
I'm tracking this as follow up PR to content server and a small patch to desktop. We also want to make sure to land it before pairing hits release. :eoger said it should be okay to land that fix separately as well.
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Backed out changeset 74922ea29d44 (bug 1490671) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_sync_pairing.js
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=229335326&repo=autoland&lineNumber=37953
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=74922ea29d44e5a45eb54da31f0329c326e4588c
Backout:
https://hg.mozilla.org/integration/autoland/rev/66a777b305c798b6a788af47e59ab05964b569da
Comment 27•7 years ago
|
||
FYI made a v1.0.1 release of fxa-pairing-channel with some small tweaks based on latest discussions:
https://github.com/mozilla/fxa-pairing-channel/releases/tag/v1.0.1
Comment 28•7 years ago
|
||
| Assignee | ||
Comment 29•7 years ago
|
||
| Assignee | ||
Comment 30•7 years ago
|
||
Clearing ni?: Re-landed with test fixes and v1.0.1 of the fxa-pairing-channel.
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
| bugherder | ||
Comment 33•7 years ago
|
||
| bugherder | ||
Comment 34•7 years ago
|
||
| bugherder | ||
Comment 35•7 years ago
|
||
Is this intended to ride with 67 to release or are you looking for beta uplift?
Comment 36•7 years ago
|
||
Wontfixing for now but let me know if you feel strongly that it needs to be in 66.
Comment 38•7 years ago
|
||
How exactly am I supposed to use this feature? Where do I find this information?
Information needed for validating this bug.
Comment 39•7 years ago
|
||
(In reply to Bodea Daniel [:danibodea] from comment #38)
How exactly am I supposed to use this feature? Where do I find this information?
Information needed for validating this bug.
- Download Android Reference Browser builds from the following:
arm: https://s3-us-west-2.amazonaws.com/fxa-dev-bucket/fenix-pair/mar18/app-geckoNightly-arm-release.apk
x86: https://s3-us-west-2.amazonaws.com/fxa-dev-bucket/fenix-pair/mar18/app-geckoNightly-x86-release.apk
arm64: https://s3-us-west-2.amazonaws.com/fxa-dev-bucket/fenix-pair/mar18/app-geckoNightly-aarch64-release.apk
-
Create a new Firefox Nightly Desktop profile, flip this pref to
true:identity.fxaccounts.pairing.enabled -
Login to Firefox Sync in Desktop
-
Open the Reference Browser Android, go to Settings -> Pair.
Here's a video guide from an older build: https://www.youtube.com/watch?v=hN-mpyEC7Pg
Comment 40•7 years ago
|
||
Hello,
Tested this with the latest builds and there are no major issues with this feature.
Could not test with the x86 device as it's got some technical problems but everything else worked as expected.
Description
•