Last Updated: Sep 10, 2024
Overview
This article is for the admins who would like to manage the password reset flow outside of the New Universal Login page and want to know how to remove the Forgot Password Link.
Applies To
- Password Reset Flow
- Remove the Forgot Password Link
Solution
This can be achieved by including a disable_self_service_change_password
option in database connections.
This option is not visible in the dashboard, so the only way to change it is to send a PATCH request to the database connection with options.disable_self_service_change_password
set to true
.
This can be done using the “PATCH /api/v2/connections/{id}}” Management API
- PATCH: https://DomainName/api/v2/connections/{connection_id}
NOTE: If using the options parameter, the whole options object will be overridden, so ensure that all parameters are present
Request body:
{
"options": {
"disable_self_service_change_password": true,
//rest of options object
}
}
Check out the video on this process.