Open Bug 2060539 Opened 8 days ago Updated 29 minutes ago

Don't move to the `AuthIssues` state unless we get confirmation that the refresh token is bad

Categories

(Application Services :: Sync, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: bdk, Unassigned)

References

Details

(Whiteboard: [fxsync-])

Attachments

(1 file)

When we get the CheckAuthorizationStatus event we call the check_authorization_status method, which checks with FxA if our refresh token is valid or not. If that call fails, for example because we get a network error, then we assume the refresh token is bad and move to AuthIssues.

We should switch this logic and only move to AuthIsuues if we get confirmation that the refresh token is invalid, i.e. active=false. On failure, we should log a warning and stay in the from state. This will lead to less users being in AuthIssues when they don't need to be.

Severity: -- → S3
Priority: -- → P3
See Also: → 2052820
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: