Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable recovery V1 API #4878

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@ public static class SCIM2 {
public static final String GROUP_EP = "scim2/Groups";
}

/**
* Common constants related to Recovery.
*/
public static class Recovery {

public static final String RECOVERY_V1_API_ENABLE = "Recovery.EnableV1API";
}

/**
* Common constants related to OpenID.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@
</SCIM2>

<!--Recovery>
<EnableV1API>false</EnableV1API>
<ReCaptcha>
<Password>
<Enable>false</Enable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,7 @@
</PasswordPolicyValidationHandler>
</PasswordPolicy>
<Recovery>
<EnableV1API>{{identity_mgt.recovery.enable_v1_api}}</EnableV1API>
<ReCaptcha>
<Password>
<Enable>{{identity_mgt.password_reset_email.enable_recaptcha}}</Enable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
"scim2.consider_total_records_for_total_results_of_ldap": false,

"identity_mgt.password_policy.password_policy_validation_handler.enable": true,
"identity_mgt.recovery.enable_v1_api": false,
"identity_mgt.recovery.notification.manage_internally": true,
"identity_mgt.recovery.callback_url": "${carbon.protocol}:\\/\\/${carbon.host}:${carbon.management.port}\\/.*",
"identity_mgt.recovery.enable_detailed_error_messages": false,
Expand Down
Loading