Was trying to do the trick of using a password change ticket to send a new user welcome mail that has them set their password prior to first login. Added a lovely template to my “Change Password (Link)” template. Enabled and hit the “Try” button which worked great.
So I pre-create my user, and then send a password-change with the following payload:
payload = {
"email": email,
"ttl_sec": 604800, # 7 days as recommended in design doc
"mark_email_as_verified": True, # Keep this as a safeguard
"connection_id": os.environ.get('AUTH0_CONNECTION_ID'),
"client_id": os.environ.get('AUTH0_CLIENT_ID')
}
See all sorts of “Create a password change ticket” happiness in the log and never see an email.
I found a number of 2018 posts that say “Create a password change ticket” DOES NOT send an email, but then found others that conflict with that statement. What’s the final word?
Oh, and if it doesn’t, why tease us with an email template (2 if you count the “(Code)” version)