Homec4science

Fix OAuth token refresh return value

Authored by epriestley <git@epriestley.com> on Jun 26 2013, 01:31.

Description

Fix OAuth token refresh return value

Summary:
Ref T1536. Ref T2852. Currently, after refreshing the token we don't actually return it. This means that code relying on token refresh fails once per hour (for Asana) in a sort of subtle way. Derp.

Update bin/auth refresh to make this failure more clear.

Test Plan: Set force refresh flag and verified a return value.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T1536, T2852

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

Details

Committed
epriestley <git@epriestley.com>Jun 26 2013, 01:31
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4ca38612f2b0: Add DoorkeeperExternalObjectQuery, expose more ref/import APIs
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5ecb77427aec: Fix OAuth token refresh return value (authored by epriestley <git@epriestley.com>).Jun 26 2013, 01:31