Confirmed users
1,158
edits
Line 28: | Line 28: | ||
On Firefox 2.0, we'll use the native Firefox Accounts. | On Firefox 2.0, we'll use the native Firefox Accounts. | ||
* | * Write up here: https://id.etherpad.mozilla.org/tracing-mozId-API | ||
* See also: https://github.com/mozilla-b2g/gaia/blob/master/dev_apps/uitest/js/API/fxa.js#L29 | |||
* Login | |||
** Add in UA/OS sniffing to detect Firefox OS, if its not Firefox OS 2.0, we assume native Firefox Accounts is not available and fall back to the web. | |||
** Call navigator.id, adding in: wantIssuer: 'firefox-accounts' | |||
** When firefox accounts returns, create or sync up with the existing account (we already do this) | |||
** Create the session | |||
* Logout | |||
** Nuke the local session | |||
== Payments == | == Payments == |