Skip to content
Snippets Groups Projects
Commit e0cea7c6 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4288

Closes #4288

Merge request studip/studip!3104
parent 688865a6
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller ...@@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller
if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) { if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) {
$queryParams = $psrRequest->getQueryParams(); $queryParams = $psrRequest->getQueryParams();
$queryParams['sso'] = strtolower($authPlugin); $queryParams['sso'] = strtolower($authPlugin);
$this->redirect($this->authorizeURL($queryParams)); $this->redirect($this->url_for('api/oaut2/authorize', $queryParams));
return; return;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment