Passing Extra Parameters to the Password Reset URL
This article clarifies whether it is possible to pass extra parameters, such as the client domain, to the password reset URL to provide information to password reset pages.
-
Password Reset
-
Authentication API
-
Management API
There are two ways to initiate a password change flow.
-
Automatically send the Change Password email template directly to a user using the Authentication API Change Password endpoint.
-
Manually create a password change ticket using the Management API Password Change Ticket endpoint and handle the delivery of the link manually.
When using /dbconnections/change_password, the system triggers the sending of the email that includes the password change link. Therefore, it is not possible to insert custom query string parameters onto the link that is sent.
When using /api/v2/tickets/password-change, the user handles the sending of the link. Therefore, custom query string parameters can be included on the link before delivering it to the users. These custom parameters can then be accessed via JavaScript in the custom Password Reset page.