From 2d34c4eb081553b90672c470a3ae36c0746d5d8a Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Sat, 16 Mar 2024 23:41:53 +0300 Subject: [PATCH] Fix url paths --- com_oauthserver/administrator/src/Model/ClientModel.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com_oauthserver/administrator/src/Model/ClientModel.php b/com_oauthserver/administrator/src/Model/ClientModel.php index 872afb6..3f9039f 100644 --- a/com_oauthserver/administrator/src/Model/ClientModel.php +++ b/com_oauthserver/administrator/src/Model/ClientModel.php @@ -77,9 +77,9 @@ class ClientModel extends AdminModel { $uri = new Uri(Uri::root()); - $data->def('authorize_url', (string) $uri->setPath('login/oauth/authorize')); - $data->def('token_url', (string) $uri->setPath('login/oauth/token')); - $data->def('profile_url', (string) $uri->setPath('login/oauth/profile')); + $data->def('authorize_url', (string) $uri->setPath('/login/oauth/authorize')); + $data->def('token_url', (string) $uri->setPath('/login/oauth/token')); + $data->def('profile_url', (string) $uri->setPath('/login/oauth/profile')); } $this->preprocessData('com_oauthserver.client', $data);