Bug 2059169 - Allow CheckAuthorizationStatus from more states - #7514
Conversation
|
What's the motivation here? Do we ever expect |
ie, if it ever did resolve itself, it implies there was a bug which caused us to get into |
|
oops, I see the info in the bug. It's a little sad, but I think this is fine. |
Not really. Should it be a no-op as well?
Agreed. It's kind of weird but I don't think the current Android behavior is too unreasonable. |
This seems fine I guess. I'd like to better understand the Android weirdness (but not enough to actually dig into it :) but given it exists, this isn't going to hurt. |
|
just noticed we do record some telemetry here - "Account Manager recovered a broken FxA auth state, without direct user involvement.". It would be interesting to see that - I don't think it would have great UX |
Oh. Given that the defined that telemetry, I'm going to keep the check from the AuthIssues state. One scenario I could imagine is they see a 401 error for normal reasons, maybe they tried to use an expired auth token or something, then the first auth check fails with a network error so they move to
Other than the above weirdness, the other part is here. Whenever they see an auth error, they queue an operation that ends with sending us |
Pull Request checklist
[ci full]to the PR title.