Passwordless email not sending with custom provider

I’ve configured my app to only use Passwordless connection, but OTP / verification code emails are no longer sending with a custom email provider. They were previously working with the test provider, but after switching to using Azure Communication Services the emails aren’t sending anymore.

When I try to login, I get two logs:
1: Successful “Code/Link Sent” log
2: “Failed Sending Notification” log with the error:

“Error sending email: Request body validation error. See property ‘senderAddress’”

The “Send Test Email” button in the Branding → Email Provider section successfully sends an email, but whenever I try to log in or send a test email from Authentication → Psaswordless section, it fails to send.

Hi @michaela-sb

Thank you for reaching out to us!

Based on the information provided and the error message, it appears that the issue relates to the " From " email address, which could be misconfigured or under an different format than the expected one.

While the test that you performed worked, the Passwordless flow uses its own specific “From” address, which is likely misconfigured, as Azure Communications Services only supports a raw email address (user@example.com) in the From field. I believe this is a good place to start troubleshooting and for this please look over our documentation on how to Configure Azure Communication Services as an Email Provider, where this information is mentioned.

Let us know if you were able to get the issue resolved, or if you require any further assistance.

Best regards,
Gerald

1 Like

Yes that was exactly it, I didn’t realize Authentication → Passwordless also had its own “From” field and still had it set to the default {{ application.name }} root@auth0.com instead of my custom email. I might suggest adding that to the documentation as I didn’t see that included in the above mentioned guide previously.

Thank you!