Closed Bug 1868418 Opened 2 years ago Closed 6 days ago

Run ensure capabilities after successful auth check when initializing

Categories

(Application Services :: Fxa Client, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

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.

Blocks: 1867795

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.

Whiteboard: [fxsync-]
Status: NEW → RESOLVED
Closed: 6 days ago
Flags: qe-verify+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: