Implement sign up/sign in Firefox Accounts flow in a Fennec add-on

RESOLVED FIXED

Status

()

Firefox for Android
General
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: nalexander, Assigned: nalexander)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox42 affected)

Details

This ticket tracks building a small add-on that manages auth, content server, and Sync prefs, and WebChannel messages, to connect Fennec to a Firefox Account and start syncing.
First version pushed to:

https://github.com/ncalexan/fxa-web-signin-addon/commit/94c8563ed75d3cc752addeb3b542ef18ba303c0a

Future work:
* support custom Sync/token server URLs in Fennec;
* add settings dialog for configuring URLs (auth and token server);
* possibly fix race condition when deleting Firefox Accounts.

I will file follow-ups for these things.
Depends on: 1182266
Depends on: 1182270
Depends on: 1182272
Depends on: 1181795
Fennec doesn't currently support custom profile and oauth URLs: Bug 1182263 tracks that.  When we have it, we should get profile support automatically for these partner-backed accounts.
Depends on: 1182263
This ticket doesn't need to be private: all partner specific things are in separate tickets.
Group: mozilla-employee-confidential
The bits of Bug 1161234 that are absolutely required have landed, so I'm removing it from the festivities.  Bug 1182263 would be nice -- then we'd be able to make profile support work out of the box.
No longer depends on: 1161234
Depends on: 1182506
Technically, Bug 1182263 and Bug 1182270 don't block the add-on getting made and demonstrating the web flow technology -- they're polish and experience improvements.
No longer depends on: 1182263, 1182270
As of version 0.6, I think we're good here.

https://github.com/ncalexan/fxa-web-signin-addon/commit/0f3b4d4b19f6ebe2dc3377de31256a0ec6e3cee2
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.