User:Clouserw/AMO/Auth
Jump to navigation
Jump to search
Proposal to convert AMO to use Firefox Accounts
Converting AMO to use FxA would increase FxA numbers, simplify the AMO code, centralize our authentication at Mozilla, and reduce our vulnerability footprint by keeping all account info in one place. AMO has had 50,000 unique successful logins in April and 200,000 since the start of the year (stats as of the end of April).
This is a work in progress. Feedback encouraged.
Proposed Flow
This is based heavily on the Marketplace transition to Firefox Accounts.
Engineering Considerations
- AMO is old enough to have several evolutions of login code in it (including browserid, several sha hash types, a migration from getpersonas, as well as external services like builder.amo and the forums). Removing all that code will be very good.
Other Considerations
- On certain administrative forms and when users try to delete their add-on we re-prompt for their password. I don't think FxA supports this functionality.
- The AMO forums still talk directly to the AMO database to log in. This has been annoying for a very long time and there will likely be support for moving off this system. Three active proposals include: letting phpbb manage it's own authentication, writing an FxA plugin for phpbb, or moving off of phpbb altogether (likely to discourse).
- What if someone uses an FxA account that doesn't match AMO?