Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15356372
D20899.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
595 B
Referenced Files
None
Subscribers
None
D20899.diff
View Options
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() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 6:17 AM (1 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224797
Default Alt Text
D20899.diff (595 B)
Attached To
Mode
D20899: Update Asana Auth adapter for "gid" API changes
Attached
Detach File
Event Timeline
Log In to Comment