diff --git a/config/config_defaults.inc.php b/config/config_defaults.inc.php index 4a421f7fa55512359f573a89fba3d3b4b01594ca..d22e57f885ccbe92fb0c185de74d3860c72a9a67 100644 --- a/config/config_defaults.inc.php +++ b/config/config_defaults.inc.php @@ -327,7 +327,6 @@ $STUDIP_AUTH_CONFIG_OAUTH2 = [ ]; $STUDIP_AUTH_CONFIG_SIMPLESAMLPHP = [ - 'reverse_proxy_url' => '', 'sp_name' => 'default-sp', 'user_data_mapping' => [ 'auth_user_md5.Email' => ['callback' => 'getUserData', 'map_args' => 'email'], diff --git a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php index 163465b311bfecd5e1a3fca904f445041626f767..3d9f26cf3ad4c369fec92c004c7c301c8f843999 100644 --- a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php +++ b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php @@ -10,9 +10,6 @@ */ class StudipAuthSimpleSamlPHP extends StudipAuthSSO { - // Reverse proxy domain - public ?string $reverse_proxy_url = null; - // Name of the SimpleSAMLphp SP public string $sp_name; @@ -106,7 +103,7 @@ class StudipAuthSimpleSamlPHP extends StudipAuthSSO */ public function getReturnToURL(): string { - $old_base = URLHelper::setBaseURL($this->reverse_proxy_url ?: $GLOBALS['ABSOLUTE_URI_STUDIP']); + $old_base = URLHelper::setBaseURL($GLOBALS['ABSOLUTE_URI_STUDIP']); $return_to_url = URLHelper::getURL('dispatch.php/start', [ 'again' => 'yes', 'cancel_login' => 1,