Ramsai
Ramsai•13mo ago

URL template for password reset

We are working on password reset for custom login UI. https://zitadel.com/docs/guides/integrate/login-ui/password-reset#zitadel-sends-the-verification-message We are not sure how exactly to use the URL Template. We would like to use it for giving customised emails to the user for password reset. Could you please elaborate on what are all the required params that are needed to be used and if there is any further details about it please attach it. Please help us in finding any sample code for it, if there is any. Thanks.
ZITADEL Docs
When a user is on the password screen and has forgotten the password you will probably want them to be able to reset it by themselves.
4 Replies
Ramsai
RamsaiOP•12mo ago
Hi team, any update on this 🙂 Hi team, any update on this 🙂
FFO
FFO•12mo ago
Hey let me quickly look into that While its not that well documented maybe this gives you some insporation https://github.com/zitadel/zitadel/blob/main/proto/zitadel/user/v2/user.proto#L294
Ramsai
RamsaiOP•12mo ago
Thanks , will look into this
fabienne
fabienne•12mo ago
when you add the url template, you basically need to define how that url looks like. it should point to a screen that you implement in your own custom login ui. the user will get an email with that link included, which points to a screen in your custom login, where you then can verify the code So basically it depends a little how you want to handle it, for sure you will need the user id, but if you want the user to enter the code by itself you don't need to include the code in the url, if you want to be able to prefill the code and directly verify you will have to include it

Did you find this page helpful?