Auth0 Home Blog Docs

Regarding verification email

Hi, Regarding the reset password, we were using the ‘url’ which is in the verification email template for reset password. In our case we allow user to create with or without password. So in the verification email template we have checked if the password is set and change the ‘url’ accordingly. This was working fine before. Now this scenario is not working.Can anybody help us ?

Verification email template
{% if user.user_metadata.password_set == 1 %}
Verify
Account

{% else %}
Set your password
{% endif %}

On current case verification works fine but reset causing some error page saying unauthorized…

Hello @demo7300,

Welcome to the Community!

Can you post the actual content from your email template? How are you creating the verification and reset password links?

2 Likes