Changeset View
Changeset View
Standalone View
Standalone View
src/auth/PhutilPhabricatorAuthAdapter.php
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | protected function getAuthenticateBaseURI() { | ||||
return $this->getPhabricatorURI('oauthserver/auth/'); | return $this->getPhabricatorURI('oauthserver/auth/'); | ||||
} | } | ||||
protected function getTokenBaseURI() { | protected function getTokenBaseURI() { | ||||
return $this->getPhabricatorURI('oauthserver/token/'); | return $this->getPhabricatorURI('oauthserver/token/'); | ||||
} | } | ||||
public function getScope() { | public function getScope() { | ||||
return 'whoami'; | return ''; | ||||
epriestley: (This isn't directly related, but this scope no longer exists so it stops the endpoint from… | |||||
} | } | ||||
public function getExtraAuthenticateParameters() { | public function getExtraAuthenticateParameters() { | ||||
return array( | return array( | ||||
'response_type' => 'code', | 'response_type' => 'code', | ||||
); | ); | ||||
} | } | ||||
Show All 28 Lines |
(This isn't directly related, but this scope no longer exists so it stops the endpoint from complaining.)