id: 'settings.authentication.confirm_auto_provisioning.header',
});
- const onClickAutoProvisioning = () => {
+ const onClickAutoProvisioning = async () => {
if (githubConfiguration) {
updateGithubConfig({
id: githubConfiguration.id,
});
}
if (gitlabConfiguration) {
- resetSettingValue({ keys: [CONSENT_SETTING_KEY] });
+ await resetSettingValue({ keys: [CONSENT_SETTING_KEY] });
+ updateGitlabConfig({
+ id: gitlabConfiguration.id,
+ data: {
+ provisioningType: ProvisioningType.auto,
+ },
+ });
}
};