Successful auth recovery should clear the `logged_out_from_auth_issues` state
Categories
(Application Services :: Fxa Client, defect)
Tracking
(Not tracked)
People
(Reporter: bdk, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsync-])
Attachments
(1 external file)
On initialization, if we're in the AuthIssues state we sometimes re-check the authorization status and start in the Connected state instead (code). I believe the same thing happens in the CheckAuthorizationStatus event handler code.
This means that the next call to get_refresh_token() will return None which will cause the operation to fail with an AuthorizationError when it should have succeeded. In the worst case, this could trigger another CheckAuthorizationStatus call, leading to an infinite loop.
Updated•1 month ago
|
Comment 1•1 month ago
|
||
(via GitHub webhook, authenticated as shared-secret)
Comment 2•1 month ago
|
||
Authored by https://github.com/bendk
https://github.com/mozilla/application-services/commit/a139f7b26184bf8d2f5171ca8ba9fb166dbf0329
[main] Bug 2084274 - clear the logged_out_from_auth_issues state (#7673)
(via GitHub webhook, authenticated as shared-secret)
Description
•