Can you modify change password ticket response URL?

I am using POST /api/v2/tickets/password-change to generate ticket. I get ticket in the response to reset password.

Response:

{
    "ticket": "https://CUSTOM-DOMAIN/u/reset-password?ticket=GUID#"
}

Per my understanding, Auth0 creates this based on CUSTOM-DOMAIN. We cannot set this anywhere in the tenant. Meaning, if I want this to be

https://custom-domain/u/reset-password?ticket=guid#?PARAM1=ONE ← add optional parameter

OR

https://custom-domain/u/SET-PASSWORD?ticket=guid#? ← reset-password to set-password

then it is not possible. This will always be,

https://CUSTOM-DOMAIN/u/reset-password?ticket=GUID#

Is that correct understanding?

Hi @Gunjan.Parmar,

Thanks for reaching out to the Auth0 Community!

I understand you would like to know if it is possible to modify the change password ticket, like adding or changing the query parameters.

Unfortunately, this is not possible as you have found. Calling the Management API’s Create a password change ticket will always generate the URL. Moreover, there will be no way to parse any of the extraneous query parameters passed in the request.

Please let me know if you have any further questions. I’d be happy to help.

Thanks,
Rueben

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.