1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Fix missing slash

This commit is contained in:
Tanay Pant 2022-04-25 18:23:45 +02:00 committed by GitHub
parent 5d86acf15f
commit 1bca3b3ca8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ class Okta extends OAuth2
{
if (empty($this->user)) {
$headers = ['Authorization: Bearer '. \urlencode($accessToken)];
$user = $this->request('GET', 'https://'.$this->getOktaDomain().'oauth2/default/v1/userinfo', $headers);
$user = $this->request('GET', 'https://'.$this->getOktaDomain().'/oauth2/default/v1/userinfo', $headers);
$this->user = \json_decode($user, true);
}
@ -207,4 +207,4 @@ class Okta extends OAuth2
}
return $secret;
}
}
}