diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-05-21 15:50:22 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-05-21 15:50:22 +0200 |
| commit | a273776d001e32b214381d962e9d4250457a57c7 (patch) | |
| tree | ae67c5ecaa461f04c852cde8ba5ff9ad9b400ae6 /config | |
| parent | eedf79ef95e450a24c8b147396ca821ac631c452 (diff) | |
allow setting the redirect uri of oidc auth plugin and open the oidc and oauth2 auth plugins for derivations, fixes #5625
Closes #5625
Merge request studip/studip!4239
Diffstat (limited to 'config')
| -rw-r--r-- | config/config_defaults.inc.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/config_defaults.inc.php b/config/config_defaults.inc.php index e5930dc..7fe3a5d 100644 --- a/config/config_defaults.inc.php +++ b/config/config_defaults.inc.php @@ -273,8 +273,12 @@ $STUDIP_AUTH_CONFIG_GOOGLE = [ 'auth_user_md5.Nachname' => ['callback' => 'getUserData', 'map_args' => 'family_name'], 'auth_user_md5.Vorname' => ['callback' => 'getUserData', 'map_args' => 'given_name'] ], + // Enable the next line to allow setting your own scopes - // 'scopes' => [] + // 'scopes' => [], + + // Enable the next line to set a custom redirect uri + // 'redirect_uri' => '', ]; $STUDIP_AUTH_CONFIG_LTI = [ @@ -312,7 +316,6 @@ $STUDIP_AUTH_CONFIG_IP = array('allowed_users' => $STUDIP_AUTH_CONFIG_OAUTH2 = [ 'client_id' => '', 'client_secret' => '', - 'redirect_uri' => '', 'logout_url' => '', 'url_authorize' => '', @@ -331,6 +334,9 @@ $STUDIP_AUTH_CONFIG_OAUTH2 = [ // Enable the next line to allow setting your own scopes // 'scopes' => [] + + // Enable the next line to set a custom redirect uri + // 'redirect_uri' => '', ]; */ |
