-
Notifications
You must be signed in to change notification settings - Fork 104
[NEEDS DESIGN] Add UI to login with an existing AuthProvider FxA account. #894
Comments
How does this work interact with the Android system accounts? Does this supplement the provider's way of sharing account state between apps? Or does it replace/do it ourselves? What are the drawbacks of rolling our own so to speak, instead of using the Android method as the official way of sharing account state between apps? Just trying to figure out how this fits into our scope work and priorities. Generally, yes, we want to share the user's signed in state across apps. I want to make sure I have all the context and understand the technical decision about how we approached this desired state. |
@jhugman do you have insight here? should we open a separate task to investigate Android system accounts first before we figure out the UX here? |
Maybe I can answer some question. Not relying on Android system's account goes back to our decision to not rely on Android system accounts for the FxA work we've done in android-components. This mostly goes back to our experience integrating with the Android system accounts in Fennec. Our current approach to account sharing rolled-out in Q2/Q3:
PR that landed in Lockwise (#879) uses that A-C component for consuming Fennec's auth state. Once Fenix becomes a consumer, Lockwise will automatically gain ability to login via a Fenix account, with no additional changes required to Lockwise. |
Mostly that a Firefox account isn't listed in the Android system settings, since we don't create a system account. In Fennec, our system account was also responsible for data synchronization. Those two systems are now mostly decoupled within a-c, since account/sync coupling doesn't tie into our long-term plans. Other than that, we get the same data sharing capabilities but with more flexibility and quite a bit less technical complexity - our 'secure communication channel' approach is significantly less complicated than Android's account APIs. |
@ssage This bug is orthogonal to Android system accounts. This bug takes @grigoryk 's proof of concept PR (already landed) puts a @changecourse blessed design upon it. This bug is required if we want to offer an upgrade path from Fenix logins to Lockwise. |
User Story
Dependencies
Auth provision - this will most likely need to come from A-C
@grigoryk has done the majority of the non-UI work in #879.
@changecourse / @mozilla-lockwise/ux is required to design the UX, esp. around
Acceptance Criteria
The text was updated successfully, but these errors were encountered: