Hi Auth0 Community!
I’m trying to implement Send Email Invitations for Application Signup, but am confused on a few things.
For context; I am allowing Admin users to create new users using the Management API, using the new user’s email and setting a random password, with the email_verified
flag set to false
.
I’ve read the docs linked about 42.5 times, and still cannot seem to understand where to go from there. When the user is created, right now, an email is automatically sent for them to verify their email. I think it makes sense, however, what I really need is for them to set their password (and thus verify their email).
I know that I can create a password reset ticket with the management api, but obviously this can’t be done until the user is created in the database, which, upon creation, is automatically sending email-verification emails. I’d rather not have to send two emails as it would get confusing for users.
Reading the docs led me to believe that I would be able to configure this verification email to be a password reset email instead i.e. from the first three ‘steps’ listed on the page:
- User receives an email inviting them to register.
- User follows a link to the Set Up Password page.
- User creates and verifies a password.
I’m not seeing anything else on that page that mentions emails besides customizing the template to outline the process going forward.
So I guess I’m just not able to read between the lines here. Is there a hook or rule I should be setting up? Am I missing something in my email templates? Should my automatic Email-Verification template be turned off? (I didn’t turn this on in the first place, which is part of the reason why I figured this template could be re-configured to have the user set their password)
Any help is greatly appreciated.