diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-14 12:01:19 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-14 12:01:19 +0000 |
| commit | e0cea7c6578f479f777c2002753899ee759f99d4 (patch) | |
| tree | 1ba8337cacff04e931e7263331a3db507b060955 /app/controllers/api | |
| parent | 688865a6a8359bf672988381e271927257109475 (diff) | |
fixes #4288
Closes #4288
Merge request studip/studip!3104
Diffstat (limited to 'app/controllers/api')
| -rw-r--r-- | app/controllers/api/oauth2/authorize.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/oauth2/authorize.php b/app/controllers/api/oauth2/authorize.php index 451b766..b71f3d1 100644 --- a/app/controllers/api/oauth2/authorize.php +++ b/app/controllers/api/oauth2/authorize.php @@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) { $queryParams = $psrRequest->getQueryParams(); $queryParams['sso'] = strtolower($authPlugin); - $this->redirect($this->authorizeURL($queryParams)); + $this->redirect($this->url_for('api/oaut2/authorize', $queryParams)); return; } else { |
