Closed Bug 2084260 Opened 1 month ago Closed 1 month ago

CheckAuthorizationStatus: move to AuthIssues when there's no refresh/session token

Categories

(Application Services :: Fxa Client, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bdk, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsync-])

Attachments

(1 external file)

We recently changed the handling of CheckAuthorizationStatus so that if you're in the Connected state and the request to the introspection endpoint itself fails (rather than succeeds with active: false), then we stay in the connected state (changes). That makes sense for things like network errors, but not for Error::NoRefreshToken or Error::NoSessionToken. In those cases we should move to the AuthIssues state.

Authored by https://github.com/bendk
https://github.com/mozilla/application-services/commit/5669cd6363d4a4fe76c5f285dbe4d2f4f806b181
[main] Bug 2084260 - move to AuthIssues when there's no refresh/session token (#7674)

(via GitHub webhook, authenticated as shared-secret)

Status: NEW → RESOLVED
Closed: 1 month 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: