Open Bug 2092191 Opened 22 days ago

Failures in `initialize_device` after login makes the oauth flow fail

Categories

(Application Services :: Fxa Client, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bdk, Unassigned)

Details

At the end of an oauth flow we call initialize_device to register our device name, capabilities, etc. If that fails, then we don't have a good path forward since there's no code that tries to re-initialize the device again, so we transition the user to the Disconnected state.

We should find a way keep forward momentum somehow. Maybe this means moving the user to the Connected state and calling initialize_device at some later time. Maybe it means keeping them in the Authenticating state and waiting for the application to tell us to retry. Maybe we need a new state for this.

You need to log in before you can comment on or make changes to this bug.