Closed Bug 1198639 Opened 10 years ago Closed 7 years ago

Get rid of native Firefox Accounts flow and use the web hosted flow instead

Categories

(Firefox OS Graveyard :: FxA, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mbdejong, Assigned: mbdejong)

Details

Attachments

(1 file)

Francisco suggested I get more familiar with this part of the code base, and see if this is something we want to work on during Q3. (from email thread:) > It seems that we can keep the account management system and the UI parts for > Settings and FTU but remove the FxA flow system dialog from the System app [1] > in favor of the web hosted one. > > [1] https://mxr.mozilla.org/gaia/source/apps/system/fxa/ Seems related to bug 1098519.
Assignee: nobody → mbdejong
(In reply to Michiel de Jong [:michielbdejong] from comment #0) > Francisco suggested I get more familiar with this part of the code base, and > see if this is something we want to work on during Q3. > \o/ > (from email thread:) > > It seems that we can keep the account management system and the UI parts for > > Settings and FTU but remove the FxA flow system dialog from the System app [1] > > in favor of the web hosted one. > > > > [1] https://mxr.mozilla.org/gaia/source/apps/system/fxa/ > > Seems related to bug 1098519. Actually, that's not entirely related. Bug 1098519 is related to wrapping the Relying Party (RP) facing APIs (mozId and OAuth) into a common library (which BTW I don't think is the proper way to go as I'd prefer to focus on something like the Credentials Management API instead). While this bug is about changing the system dialog containing the Firefox Accounts flow in Firefox OS to use the web hosted flow as Desktop and Android does instead of the FxOS native specific implementation.
Summary: FxOS using FxA web content? → Get rid of native Firefox Accounts flow and use the web hosted flow instead
Attached image Current architecture
I created this diagram a long time ago. I believe this is still the high level architecture of FxA in FxOS. Hope it helps
Related: * Bug 1199585 * Bug 1028398 * http://www.w3.org/TR/credential-management/ * Pocket login on smart TV * "The Pocket login flow is entirely web-based and performs an OAuth2 dance with https://accounts.firefox.com [1]. [...] If Firefox OS moves to using web content for its login API [2] then it may get a similar experience without much extra work. [1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech /Firefox_Accounts/Introduction#Login_with_the_FxA_OAuth_HTTP_API [2] (this bug)"
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: