From 1bca3b3ca851b8026375e49c98ca381b815d629d Mon Sep 17 00:00:00 2001 From: Tanay Pant <7481165+tanay1337@users.noreply.github.com> Date: Mon, 25 Apr 2022 18:23:45 +0200 Subject: [PATCH] Fix missing slash --- src/Appwrite/Auth/OAuth2/Okta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Okta.php b/src/Appwrite/Auth/OAuth2/Okta.php index 3277420a3b..61c710e8ad 100644 --- a/src/Appwrite/Auth/OAuth2/Okta.php +++ b/src/Appwrite/Auth/OAuth2/Okta.php @@ -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; } -} \ No newline at end of file +}