1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-10 13:58:34 +01:00
phorge-phorge/src/applications/auth/adapter
epriestley a226d74133 Use "rest/api/3/myself" to retrieve JIRA profile details, not "rest/auth/1/session"
Summary:
Ref T13493. At time of writing, the old API method no longer functions: `1/session` does not return an `accountId` but all calls now require one.

Use the modern `3/myself` API instead. The datastructure returned by `2/user` (older appraoch) and `3/myself` (newer approach) is more or less the same, as far as I can tell.

Test Plan: Linked an account against modern-at-time-of-writing Atlassian-hosted JIRA.

Maniphest Tasks: T13493

Differential Revision: https://secure.phabricator.com/D21170
2020-04-25 14:05:22 -07:00
..
PhutilAmazonAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilAsanaAuthAdapter.php Update Asana Auth adapter for "gid" API changes 2019-11-08 09:02:15 -08:00
PhutilAuthAdapter.php Make external account identifier APIs return multiple identifiers 2020-02-22 17:45:45 -08:00
PhutilBitbucketAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilDisqusAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilEmptyAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilFacebookAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilGitHubAuthAdapter.php Update GitHub API calls to use "Authorization" header instead of "access_token" URI parameter 2020-02-04 07:58:03 -08:00
PhutilGoogleAuthAdapter.php Read both email addresses and Google Account IDs from Google OAuth 2020-02-24 13:26:42 -08:00
PhutilJIRAAuthAdapter.php Use "rest/api/3/myself" to retrieve JIRA profile details, not "rest/auth/1/session" 2020-04-25 14:05:22 -07:00
PhutilLDAPAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilOAuth1AuthAdapter.php Remove all readers and writers of "accountID" on "ExternalAccount" 2020-02-22 17:49:22 -08:00
PhutilOAuthAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilPhabricatorAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilSlackAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilTwitchAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilTwitterAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00
PhutilWordPressAuthAdapter.php Move web application classes into "phabricator/" 2019-09-02 07:58:59 -07:00