Page MenuHomePhabricator

Recover from a broken external OAuth2 account
ClosedPublic

Authored by epriestley on Jul 15 2014, 8:32 PM.
Tags
None
Referenced Files
F14360695: D9937.diff
Fri, Dec 20, 10:34 AM
Unknown Object (File)
Tue, Dec 17, 10:24 AM
Unknown Object (File)
Tue, Dec 17, 12:48 AM
Unknown Object (File)
Thu, Dec 12, 10:54 AM
Unknown Object (File)
Thu, Dec 12, 6:02 AM
Unknown Object (File)
Wed, Dec 11, 9:01 PM
Unknown Object (File)
Sun, Dec 8, 2:49 AM
Unknown Object (File)
Sun, Dec 8, 2:31 AM
Subscribers

Details

Summary

Currently, the external accounts page can die in a fire if an OAuth2 link is bad. Instead of exploding, just fail the specific link.

Test Plan

Faked an error and got "invalid token" instead of an exception.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Recover from a broken external OAuth2 account.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 15 2014, 8:35 PM

Specifically, Asana is hitting this on their install, with a user that has a bad refresh token. Digging into it with them, but the root issue here is clearly on our side.

epriestley updated this revision to Diff 23842.

Closed by commit rP7ac5abb97934 (authored by Evan Priestley <epriestley@orbital.(none)>).