1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +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)) { if (empty($this->user)) {
$headers = ['Authorization: Bearer '. \urlencode($accessToken)]; $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); $this->user = \json_decode($user, true);
} }