Phabricator-Asana integration is broken

Reproduction Instructions

  1. Try to log into Phabricator with Asana as the OAuth provider.
  2. You can’t.

Phabricator/Arcanist Version
Phabricator commit: be2b8f4bcb62deb953049debacfbc7dca2e6edef

The problem is because the Asana API no longer returns the “id” field for the endpoint /api/1.0/users/me, and instead returns the “gid” field.

This should be a fairly quick fix in ./applications/auth/adapter/PhutilAsanaAuthAdapter.php.

More info about the Asana API change at


Thanks, I filed this upstream as and fixed everything I could find.