diff --git a/auth/oidc/manageapplication.php b/auth/oidc/manageapplication.php index 0258df0aa..5d1b43b7d 100644 --- a/auth/oidc/manageapplication.php +++ b/auth/oidc/manageapplication.php @@ -73,7 +73,8 @@ } // Prepare config settings to save. - $configstosave = ['idptype', 'clientid', 'tenantnameorguid', 'clientauthmethod', 'authendpoint', 'tokenendpoint']; + $configstosave = ['idptype', 'clientid', 'tenantnameorguid', 'clientauthmethod', 'authendpoint', 'tokenendpoint', + 'oidcresource', 'oidcscope']; // Depending on the value of clientauthmethod, save clientsecret or (clientprivatekey and clientcert). switch ($fromform->clientauthmethod) {