Skip to content
Snippets Groups Projects
Commit 18a9ed73 authored by René Češka's avatar René Češka
Browse files

fix - removed reverse proxy url

parent aed1975a
No related branches found
No related tags found
No related merge requests found
......@@ -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'],
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment