Open Bug 2093432 Opened 17 days ago Updated 16 days ago

CheckAuthorizationStatus should check for missing sync keys

Categories

(Application Services :: Fxa Client, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bdk, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsync-])

For https://bugzilla.mozilla.org/show_bug.cgi?id=2092420 we decided not to transition from AuthIssues to Connected without an OAuth flow, since we would be missing the sync key in that case. This issue is for the other side of that, if we're in the Connected state and get the CheckAuthorizationStatus event, we should check for missing sync keys and transition to AuthIssues if they're missing.

The logic is the same: the user should be in the AuthIssues state, which allows them to redo the oauth flow and get the keys back.

Note: we should check for missing keys if the user's refresh token has the sync scope.

Summary: CheckAuthorizationStatus should check for missing scoped keys → CheckAuthorizationStatus should check for missing sync keys
Whiteboard: [fxsync-]
You need to log in before you can comment on or make changes to this bug.