Send passwordless email with a custom email provider
When a user authenticates through a passwordless email connection, Auth0 triggers thecustom-email-provider Action to deliver the OTP. Use this Action to route messages through any email service.
To configure the Action, navigate to Branding > Email Provider and toggle on Use my own email provider, then select the Custom Provider option. Add the default address from your custom provider in the From field. To learn more, read Configure an Email Provider with a Customized Action.
In the Actions editor, use the following example.
You need to add your email provider’s service endpoint to the Actions code and API key in the Secrets tab of the Actions editor.
Send passwordless SMS with a custom phone provider
When a user authenticates through a passwordless SMS connection, Auth0 triggers thecustom-phone-provider Action to deliver the OTP. Use this Action to route messages through any SMS provider.
To configure the Action, navigate to Branding > Phone Provider. Toggle on Phone Message Provider and select the Custom option. Determine your delivery method to be Text, Voice, or both. To learn more, read Configure a Custom Phone Provider.
In the Actions editor, use the following example.
You need to add your phone provider’s service endpoint to the Actions code and API key in the Secrets tab of the Actions editor.