Closed
Bug 979845
Opened 12 years ago
Closed 10 years ago
[meta] Desktop Client needs ability to authenticate via FxA to the server
Categories
(Hello (Loop) :: Client, defect, P5)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
backlog | - |
People
(Reporter: standard8, Unassigned)
References
()
Details
(Whiteboard: [using sync sign-in is ok][first release needed][FxA])
User Story
As a FF browser user not signed into FxA I can sign into FxA via the existing FxA sign-in UX so that I can access the Loop registered user features. As a FF browser user already signed into FxA, I am identified with my FxA without extra sign-in so that I can access the Loop registered user features. As a FF browser user not signed up to FxA I can sign-up to FxA via the existing FxA sign-up UX so I can access the Loop registered user features. As a FF browser user already signed into FxA, I can sign-out so that I can't access the Loop registered user features anymore. Approximate UX: - On the panel, a link to sign-in with Firefox Accounts is available - Hitting sign-in brings up the accounts sign-in via a tab - Once FxA is signed-in the panel should show Signing In... or similar - The client gets the FxA assertion and sends it to the Loop server - Once the server is signed in, the panel is shown - The panel now shows that the user is signed in
No description provided.
Reporter | ||
Updated•12 years ago
|
User Story: (updated)
Summary: Desktop Client needs ability to register with the server → Desktop Client needs ability to authenticate with the server
Whiteboard: [est: TBD, need to investigate how sync connects & auths]
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → standard8
Comment 2•12 years ago
|
||
Some context from duplicate bug 971988:
It seems we would need to do the following, once signed in with about:accounts:
- We want to listen to login / logout events, see http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccountsCommon.js#45
- Once logged in, we can request our assertion with getAssertion(audience). http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccounts.jsm#242
- To have this working we would need to check the verified state with getSignedInUser() http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccounts.jsm#186
Reporter | ||
Updated•12 years ago
|
User Story: (updated)
Summary: Desktop Client needs ability to authenticate with the server → Desktop Client needs ability to authenticate via FxA to the server
Bug 961920 suggests we could have user information in the notification data. Let's push this.
Reporter | ||
Updated•12 years ago
|
Priority: -- → P2
Whiteboard: [est: TBD, need to investigate how sync connects & auths] → [blocked by FxA][may be able to do something for MLP, but needs more investigation]
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
Assignee: standard8 → nobody
Priority: P2 → --
Whiteboard: [blocked by FxA][may be able to do something for MLP, but needs more investigation] → [using sync sign-in is ok][not needed for MLP]
Comment 4•11 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #2)
> Some context from duplicate bug 971988:
>
> It seems we would need to do the following, once signed in with
> about:accounts:
>
> - We want to listen to login / logout events, see
> http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/
> FxAccountsCommon.js#45
> - Once logged in, we can request our assertion with getAssertion(audience).
> http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccounts.
> jsm#242
> - To have this working we would need to check the verified state with
> getSignedInUser()
> http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccounts.
> jsm#186
IMHO we should be only be worried about getting a valid assertion. The rest should be handled by the FxA core implementation. That's the current situation in FxOS.
We might still want to listen for the onlogout notification if we want to log the user out from Loop too.
Comment 5•11 years ago
|
||
Check bug 996494
Updated•11 years ago
|
User Story: (updated)
Updated•11 years ago
|
User Story: (updated)
Updated•11 years ago
|
Updated•11 years ago
|
Updated•11 years ago
|
User Story: (updated)
Updated•11 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla33
Updated•11 years ago
|
Priority: P1 → P2
Updated•11 years ago
|
Comment 6•11 years ago
|
||
shell: email Services team on prioritization to get this high on their list. There are 3 listed things in contract we are required to do - and this is one. EME is targeted for 36. need a breakdown from their part.
Flags: needinfo?(sescalante)
Comment 7•11 years ago
|
||
shell: write services team that this is one of 3 contracted deliverables. EME isn't contracted until fx36, we need fx33 (last chance early 34 to hit contract), so we can do our part.
loop client part needs new bugs for integrating into FxA hooks [p=2, investigation - blocked by services]
Flags: needinfo?(sescalante)
Updated•11 years ago
|
Whiteboard: [using sync sign-in is ok][not needed for MLP] → [using sync sign-in is ok][not needed for MLP][estimate blocked on response from services on other FxA integration work]
Updated•11 years ago
|
Priority: P2 → P1
Target Milestone: mozilla33 → mozilla34
Comment 9•11 years ago
|
||
I would expect to see some Loop Desktop Client bugs as dependencies that break down the work to take advantage of the API landing as part of bug 1022064. IMO, bug 1022064 is close enough to start the breakdown. Bug 1022064 also includes a PoC patch to suggest what shape that would take in Loop as well.
Updated•11 years ago
|
backlog: --- → Fx34?
Updated•11 years ago
|
Target Milestone: mozilla34 → mozilla35
Reporter | ||
Comment 10•11 years ago
|
||
Bug 1022064 attachment 8461282 [details] [diff] [review] has an example implementation for this bug.
Comment 11•11 years ago
|
||
> Target Milestone: mozilla34 → mozilla35
Is FxA integration with Loop no longer targeting Fx 34?
Comment 12•11 years ago
|
||
(In reply to Chris Karlof [:ckarlof] from comment #11)
> > Target Milestone: mozilla34 → mozilla35
>
> Is FxA integration with Loop no longer targeting Fx 34?
We really WANT FxA integration for Fx 34 -- especially if it is close to ready. We may not have enough of contacts available to expose all of it as a user-visible feature until Fx 35. We're discussing that this week as well as what it is the best success path for Fx 34. (It likely makes sense to focus on making accountless mode solid and deliver contacts in Fx 35.)
Getting FxA integration done in Fx34 helps us A LOT, and I'd like to still target it if we can do so and deliver a solid accountless mode experience.
Target Milestone: mozilla35 → mozilla34
Comment 13•11 years ago
|
||
P3 is not because we don't want it, but because we believe folks outside of our core Loop dev team will work on this.
Priority: P1 → P3
Comment 14•11 years ago
|
||
Ok.
Bug 1022064 (FxA integration API for browser services) is waiting on final review from Desktop. It would be great to push that through whenever Desktop resources are free.
Updated•11 years ago
|
Whiteboard: [using sync sign-in is ok][not needed for MLP][estimate blocked on response from services on other FxA integration work] → [using sync sign-in is ok][first release needed]
Updated•11 years ago
|
Whiteboard: [using sync sign-in is ok][first release needed] → [using sync sign-in is ok][first release needed][FxA]
Comment 15•11 years ago
|
||
Chris, Maire;
It's a bit unclear to me if having Firefox Accounts integration for loop needs having the OAuth flow in place for loop-server (e.g. the ability to login with the OAuth dance for a Firefox Account).
Given the fact we already accept firefox accounts assertions, should we consider the inclusion of FxA+OAuth a blocker, or is it just something that is the "preffered" way to authenticate to FxA?
Thanks.
Flags: needinfo?(mreavy)
Flags: needinfo?(ckarlof)
Comment 16•11 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #15)
> Chris, Maire;
>
> It's a bit unclear to me if having Firefox Accounts integration for loop
> needs having the OAuth flow in place for loop-server (e.g. the ability to
> login with the OAuth dance for a Firefox Account).
For FxOS, no. FirefoxOS uses FxA BrowserID assertions to make identity assertions. Our FxOS team is working on migrating to Oauth flows in the future, but for now it's BiD.
For the Web and Firefox Desktop, yes, the Loop server needs to support the FxA Oauth flow to integrate with FxA.
> Given the fact we already accept firefox accounts assertions, should we
> consider the inclusion of FxA+OAuth a blocker, or is it just something that
> is the "preffered" way to authenticate to FxA?
For Web and Desktop integration of Loop+FxA, yes, Oauth support on the Loop server is a blocker.
Vlad has a very rough suggestion of what this would look like here: https://github.com/mozilla-services/loop-server/pull/98
I spoke with Vlad today and he will extend this PR to include a standalone testing (throwaway) Web app for the loop-server, so you guys can develop Oauth support on the Loop server without depending on the FxA Desktop Loop client changes.
Flags: needinfo?(ckarlof)
Comment 17•11 years ago
|
||
Alexis -- I don't think I have anything to add to Chris' answer. Is there anything in Chris' answer that isn't clear, or do you anything more to proceed with Oauth support on the server?
Flags: needinfo?(mreavy)
Comment 18•11 years ago
|
||
Some resources I have found that explain the UX:
* https://etherpad.mozilla.org/MWt7hqDivW
* https://www.lucidchart.com/documents/view/d211775b-8e54-4f16-ba56-8cbee1e63eae/0
* https://people.mozilla.org/~dhenein/labs/loop-mvp-spec/
"[using sync sign-in is ok]" contradicts what is in the etherpad. Is that just a fallback plan still?
Comment 19•11 years ago
|
||
> "[using sync sign-in is ok]" contradicts what is in the etherpad. Is that just a fallback plan still?
There is no plan to use the existing sync sign in for Loop. We are planning on using the FxAOauthClient due to land in bug 1022064 for Loop and future attached services in the Desktop browser.
Updated•11 years ago
|
Comment 20•11 years ago
|
||
should have been moved to Fx35, sprints where work is happening. work still targeted for Fx34 uplift - but this particular meta bug isn't being uplifted and can likely be closed, as the work is broken down. it's just holding so many bugs -that i left for ease of bug management.
Target Milestone: mozilla34 → mozilla35
Comment 21•11 years ago
|
||
We should triage the dependent bugs on this bug individually.
backlog: Fx34? → Fx35?
Updated•11 years ago
|
Target Milestone: mozilla35 → ---
Updated•11 years ago
|
backlog: Fx35? → -
Updated•10 years ago
|
Rank: 55
Flags: firefox-backlog-
Priority: P3 → P5
Reporter | ||
Comment 22•10 years ago
|
||
FxA integration into Hello is complete as of a few versions ago. The remaining bugs will be tracked separately and don't strictly block this meta.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•