Homec4science

Add a "refresh" action for external accounts

Authored by epriestley <git@epriestley.com> on Jun 25 2013, 00:58.

Description

Add a "refresh" action for external accounts

Summary:
Ref T1536. This is equivalent to logging out and logging back in again, but a bit less disruptive for users. For some providers (like Google), this may eventually do something different (Google has a "force" parameter which forces re-auth and is ostensibly required to refresh long-lived tokens).

Broadly, this process fixes OAuth accounts with busted access tokens so we can do API stuff. For other accounts, it mostly just syncs profile pictures.

Test Plan:
Refreshed LDAP and Oauth accounts, linked OAuth accounts, hit error conditions.

{F47390}
{F47391}
{F47392}
{F47393}
{F47394}
{F47395}

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1536

Differential Revision: https://secure.phabricator.com/D6290

Details

Committed
epriestley <git@epriestley.com>Jun 25 2013, 00:58
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe826842179b7: Show more information about OAuth tokens in the Account Settings -> External…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHfe71b34c6883: Add a "refresh" action for external accounts (authored by epriestley <git@epriestley.com>).Jun 25 2013, 00:58