What Is Firefox Accounts?
Firefox Accounts is a consumer account system which provides access to services run by Mozilla, such as Firefox Marketplace and the next version of Firefox Sync. A user can sign in with a Firefox Account to all her "Foxes": Firefox on Desktop, Firefox for Android, and Firefox OS. Signing into a Firefox browser or device gives the user access to integrated Mozilla Services on that browser or device that requires authentication (e.g., Firefox Sync). Longer term we envision that non-Mozilla services and applications will be able to delegate authentication to Firefox Accounts.
Firefox Accounts currently only a few things, e.g.,
- It allows users to create a Firefox Account.
- It allows existing account holders to authenticate themselves, and perform related operations (reset password, change password, etc.)
- It provides a delegated authentication API to relying Mozilla services (possibly third services in the future). Just like how Google Drive delegates authentication to Google Accounts, Firefox Marketplace will delegate authentication to Firefox Accounts.
Firefox Accounts itself doesn't store much about users, and we intend to keep it that way:
- Email address
- Password verifier
- User id
- Sync encryption keys
- A log of security events about the user (from where and when logins, passwords resets, etc. happen), and from what devices the user is currently logged in.
Firefox Accounts is only as interesting and valuable as the services attached to it, like Firefox Marketplace, Where's My Fox, and Firefox Sync. These services will manage their own data, but rely on Firefox Accounts for authentication services.
Will I be required to create a Firefox Account to use Firefox?
No, of course not! Firefox Accounts will only be required for Mozilla Services that require authentication, such as Firefox Sync and Firefox Marketplace.
How does a user create and sign in to a Firefox Account?
Firefox Accounts will work much like authentication works just about everywhere else. You create a Firefox Account with a verified email and password. You sign in to Firefox Accounts with your email and password. We are currently evaluating creating and logging in to a Firefox Account with a mobile number.
Why does Firefox Accounts require me to choose a password?
The first relying service we're targeting with Firefox Accounts is Firefox Sync. Current Firefox Sync encrypts all your data in our servers, and we will continue to do so in the Firefox Accounts backed version of Sync. However, in the FxA backed version of Firefox Sync, we will encrypt your Sync data with a key derived from your Firefox Account password, instead a random key managed by the J-PAKE pairing protocol. This technique of using a password derived sync key is similar to how data protection in Chrome Sync works.
How do relying Mozilla services authenticate an FxA user?
- BrowserID assertions
- Oauth2 (coming soon: https://github.com/mozilla/fxa-oauth-server)
How does a user reset her Firefox Account password?
Password reset works by responding to an email challenge.
What's the difference between Persona and Firefox Accounts?
Persona is not intended to provide you with a new account, and it's not a new account system. Persona is a federated login protocol. You use Persona to log in to relying sites, and it's not intended that you need to "sign up" for Persona before you can use it. If you would need to sign up for anything, you would need to create an account at an IdP that supports Persona.
One confusing point about Persona today is a service called the "Persona Fallback", which serves as a proxy IdP if your actual IdP doesn't support Persona (or isn't bridged), which just about every IdP except for Google and Yahoo. In this case, you currently have to sign up for a "Persona Fallback Account" (i.e. choose a password and verify your email) to use Persona.
But a Persona Fallback Account is not a Persona Account, it's not the long term vision of Persona, and that's not supposed to be the happy path of the Persona login experience.
More importantly, for the purposes of this question, a Persona Fallback Account is definitely not a Firefox Account.
So why Firefox Accounts and what will one do?
What information does Firefox Accounts store about the user? Can I use it to store user data for my application or service?
Firefox Accounts stores limited user information, and only stores information that will deliver significant user value across applications or is tightly related to the user's identity. It will not store user data for relying services. Relying Mozilla services can use Firefox Accounts for authentication, but application data storage is the responsibility of the individual applications.
Possible future plans:
- "screen name"
- mobile number
Can I use Persona to log in to my Firefox Account?
Not initially, but it's something we're investigating to add in the future.
Can I use my Firefox Account to log in to non-Mozilla services?
Not initially, but it's something we're investigating to support in the future.
Does Firefox Accounts provide email?
What services will use Firefox Accounts?
Here's a (probably incomplete) list of services we anticipate you'll be able to log into with your Firefox Account:
- Firefox Sync
- Firefox Marketplace
- Where's My Fox?
- future ideas
What do these terms mean?
- FTU, FTE: First Time Experience on Firefox OS
- FxA : Firefox Accounts. It may also refer to a user's particular Firefox Account.
- Jelly: A confusing term that refers to a hosted web page that is injected into more native-looking browser UI. An example of this is about:healthreport.
- Doughnut: The browser code that wraps the "Jelly" and enables it to interact with chrome code in the browser.
- RP : Relying Party. Services that use Firefox Accounts for authentication and identity. Currently these are limited to services run by Mozilla.
- PiCL : Profile in the Cloud. This is a deprecated term that was used to refer to Firefox Accounts + attached services (i.e., relying parties).
Where is the schedule for FxA?
Where is the FxA for Web addition to the Arch section below?
What are the similarities/differences between FxA for Web and the Dev work already being done for desktop and android?
Have a question not covered here? Add it in this section and we'll answer it!
Is it possible to host your own Firefox accounts, like with Firefox Sync?
Firefox Accounts Cloud Services is composed of several sub-services, including an auth server and a content server.
The Auth Server provides an HTTP API that:
- authenticates the user
- enables the user to authenticate to other services via BrowserID assertions
- enables change and reset password operations
- Code: https://github.com/mozilla/fxa-auth-server
- API documentation: https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md
- Dev deployment: https://github.com/mozilla/fxa-auth-server#dev-deployment
- Python API client (primarily a reference client): https://github.com/warner/picl-spec-crypto
- hosting login and create account pages
- hosting password reset pages
- hosting landing pages for email verification links
- Code: https://github.com/mozilla/fxa-content-server
JS Client Library
- Code: https://github.com/mozilla/fxa-js-client
- Key stretching details: https://wiki.mozilla.org/Identity/AttachedServices/KeyServerProtocol#Client-Side_Key_Stretching
- Key stretching performance tests: https://wiki.mozilla.org/Identity/AttachedServices/Key_Stretching_Performance_Tests
FxA enables clients to generate BrowserID assertions on behalf of the user. FxA provides a hosted verifier for verifying these assertions.
- Verifier server code: https://github.com/mozilla/browserid-verifier
- Verifier library: https://github.com/mozilla/browserid-local-verify
- Production deployment: https://verifier.accounts.firefox.com/v2
Firefox Accounts integration is available on Desktop Firefox as of Firefox 29.
Firefox Accounts integration is available on Firefox for Android as of Firefox 29.
Implementation of Firefox Accounts in FirefoxOS is committed for b2g v1.5.
Firefox Accounts user story spreadsheet - the canonical source of truth:
Committed user stories for 1.5:
= $all-$resolved ?> Open; = $resolved ?> Resolved; = $all ?> Total (50% complete)
Targeted user stories for 1.5:
|949065||[User Story] FxA - Terms and Conditions||--||NEW|
|949093||[User Story] FxA - Forced Authentication||--||NEW|
|949095||[User Story] FxA - Refresh Authentication||--||NEW|
|949100||[User Story] FxA - Logout||--||NEW|
|965492||[User Story] FxA - Cancel Account Verification||--||NEW|
|965494||[User Story] FxA - Reset Password||--||NEW|
|974999||[User Story] Resend Verification Email||--||NEW|
|949069||[User Story] FxA - Support COPPA Regulations||--||RESOLVED|
|949063||[User Story] FxA - Sign in to Firefox Accounts during First Run||--||RESOLVED|
|949097||[User Story] FxA - Automatic Sign out after Forced Authentication Failure||--||RESOLVED|
|949098||[User Story] FxA - UX for Forced Authentication||--||RESOLVED|
|949102||[User Story] FxA - Welcome Message with Listing of Key Apps||--||RESOLVED|
= $all-$resolved ?> Open; = $resolved ?> Resolved; = $all ?> Total (41.67% complete)
For now, here are some useful links about Firefox Accounts Operations:
- Q3 load testing results: https://id.etherpad.mozilla.org/fxa-q3-load-testing-summary
- Deployment planning: https://wiki.mozilla.org/Identity/AttachedServices/DeploymentPlanning/
- Traffic model: https://wiki.mozilla.org/Identity/AttachedServices/DeploymentPlanning/TrafficModel
- Notes on the operational costs of the Auth Server: https://mail.mozilla.org/pipermail/sync-dev/2013-July/000043.html
Fraud and Abuse
- Firefox Accounts development: https://mail.mozilla.org/listinfo/dev-fxacct
- Sync development: https://mail.mozilla.org/listinfo/sync-dev
- Leads: Chris Karlof, Sam Penrose
- IRC: #fxa (general FxA, and FxA on Desktop and Android), #native_identity (for FxA on FxOS)
- List: firstname.lastname@example.org
- Engineering: Brian Warner, Danny Coates, Ryan Kelly, Zach Carter, Nick Alexander, Sam Penrose, Shane Tomlinson, Andrew Chilton, Nick Chapman
- UX: John Gruen, Ryan Feeley
- QA: Edwin Wong, James Bonacci, Peter Dehaan
- DevOps: Gene Wood, Benson Wong
- Identity Roadmap
- Firefox Sync.next
- Identity and PiCL
- FxA UX/UI
- QA Team Test Plan
- What Does Firefox Accounts Mean To You?