diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-09-02 12:46:06 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-09-02 12:46:06 +0000 |
| commit | 98e521eeaee9655d714ab7fb1c7f805404384a65 (patch) | |
| tree | 27e528b70f7e9f85b8f249969252b59e683f079d /config | |
| parent | 1a938fd7c378683ce0cde9a4f2b1b247cc3a08fe (diff) | |
provide generic logout for sso auth plugins, fixes #3624
Closes #3624
Merge request studip/studip!3345
Diffstat (limited to 'config')
| -rw-r--r-- | config/config_defaults.inc.php | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/config/config_defaults.inc.php b/config/config_defaults.inc.php index ce48492..e4aed07 100644 --- a/config/config_defaults.inc.php +++ b/config/config_defaults.inc.php @@ -368,15 +368,19 @@ $STUDIP_AUTH_CONFIG_LTI = [ ] ]; -$STUDIP_AUTH_CONFIG_SHIB = array("session_initiator" => "https://sp.studip.de/Shibboleth.sso/WAYF/DEMO", - "validate_url" => "https://sp.studip.de/auth/studip-sp.php", - "local_domain" => "studip.de", - "user_data_mapping" => - array( "auth_user_md5.username" => array("callback" => "dummy", "map_args" => ""), - "auth_user_md5.password" => array("callback" => "dummy", "map_args" => ""), - "auth_user_md5.Vorname" => array("callback" => "getUserData", "map_args" => "givenname"), - "auth_user_md5.Nachname" => array("callback" => "getUserData", "map_args" => "surname"), - "auth_user_md5.Email" => array("callback" => "getUserData", "map_args" => "email"))); +$STUDIP_AUTH_CONFIG_SHIB = [ + 'session_initiator' => 'https://sp.studip.de/Shibboleth.sso/WAYF/DEMO', + 'validate_url' => 'https://sp.studip.de/auth/studip-sp.php', + 'logout_url' => 'https://sp.studip.de/Shibboleth.sso/Logout', + 'local_domain' => 'studip.de', + 'user_data_mapping' => [ + 'auth_user_md5.username' => ['callback' => 'dummy', 'map_args' => ''], + 'auth_user_md5.password' => ['callback' => 'dummy', 'map_args' => ''], + 'auth_user_md5.Vorname' => ['callback' => 'getUserData', 'map_args' => 'givenname'], + 'auth_user_md5.Nachname' => ['callback' => 'getUserData', 'map_args' => 'surname'], + 'auth_user_md5.Email' => ['callback' => 'getUserData', 'map_args' => 'email'] + ], +]; $STUDIP_AUTH_CONFIG_IP = array('allowed_users' => array ('root' => array('127.0.0.1', '::1'))); |
