Page MenuHomePhabricator

Recover from a broken external OAuth2 account
ClosedPublic

Authored by epriestley on Jul 15 2014, 8:32 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sun, Dec 8, 2:01 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
Branch
oauth2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1700
Build 1701: [Placeholder Plan] Wait for 30 Seconds

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)>).