mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Minor fix
This commit is contained in:
parent
8942610219
commit
adce803d9e
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ class Okta extends OAuth2
|
|||
{
|
||||
if (empty($this->user)) {
|
||||
$headers = ['Authorization: Bearer '. \urlencode($accessToken)];
|
||||
$user = $this->request('GET', 'https://'.$this->getOktaDomain().'/v1/userinfo', $headers);
|
||||
$user = $this->request('GET', 'https://'.$this->getOktaDomain().'oauth2/default/v1/userinfo', $headers);
|
||||
$this->user = \json_decode($user, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue