How to remove the Forgot Password link from the New Universal Login page

Problem statement

We would like to manage the password reset flow outside of the New Universal Login page and we want to know how to remove the Forgot Password Link.


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:!/Connections/patch_connections_by_id

PATCH: [https://YOUR_DOMAIN/api/v2/connections/{](https://your_domain/api/v2/connections/%7B)connection_id}

An important note: if you use the options parameter, the whole options object will be overridden, so you’ll want to ensure that all parameters are present.

Request body:

{ "options": { "disable_self_service_change_password": true, //rest of options object } }

1 Like