Run ensure capabilities after successful auth check when initializing
Categories
(Application Services :: Fxa Client, defect)
Tracking
(Not tracked)
People
(Reporter: bdk, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsync-])
Attachments
(1 file)
When we initialize a new account, we call ensure_capabilities. If that fails with an authorization error, we run check_authorization_status to see if the user is in the auth problems state rather than the connected state.
If that check succeeds, we immediately transition them to the connected state. However, we should call ensure_capabilities a second time in this case.
| Reporter | ||
Comment 1•2 years ago
|
||
This is fairly easy to do, the only reason I haven't implemented it yet as that I want to make our code match the current android-components code in order to make the state machine checker work.
| Reporter | ||
Updated•14 days ago
|
Updated•14 days ago
|
Comment 2•14 days ago
|
||
Comment 3•6 days ago
|
||
Authored by https://github.com/bendk
https://github.com/mozilla/application-services/commit/db4e7efa272700b6590c6a48e7240f55d6eef3a8
[main] Bug 1868418 - Rerun ensure capabilities after logging in (#7457)
Description
•