diff --git a/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php b/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php --- a/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php +++ b/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php @@ -14,7 +14,9 @@ } public function getAccountID() { - return $this->getOAuthAccountData('id'); + // See T13453. The Asana API has changed to string IDs and now returns a + // "gid" field (previously, it returned an "id" field). + return $this->getOAuthAccountData('gid'); } public function getAccountEmail() {