diff --git a/app/controllers/api/oauth2/authorize.php b/app/controllers/api/oauth2/authorize.php index aa608ba502e1b311e8b9a2cfe6813362cdf5e1e1..ac2556c2b01dae9191ac5958dbb346d86897041f 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->url_for('api/oaut2/authorize', $queryParams)); + $this->redirect($this->url_for('api/oauth2/authorize', $queryParams)); return; } else {