Passwordless SMS Login with Azure Communication Servivces

Hi I’m looking to setup passwordless SMS login using my Azure Communication Services. I set the email provider to azure communication services with the right email and connection string which works, but I setup the phone provider to send texts using Azure Communication Services and testing messages work. I then followed the docs here Set Up Custom SMS Gateway for Passwordless Connections to set the sms connection provider for passwordless to sms_gateway and I’m not exactly sure what I’m supposed to use for the gateway_url. Is there a way to use the custom phone provider I set up in the branding section for these passwordless sms or do I need to get up something else on our Azure side in order to authenticate and I should use the endpoint in Azure Communication Services as the gateway_url?

Thanks In advance!

Hi @cmieloch

Welcome to the Auth0 Community!

I am sorry regarding the late reply to your inquiry.

The gateway_url that you need to use a parameter as per our documentation when setting up the SMS gateway should be the URL provided by Azure Communication Services.

The URL should look something like this:

“gateway_url”: “https://{YOUR_CUSTOM_DOMAIN_URL}/API/V1//SMS/{{ phone_number }}/AUTOGEN/OTP”

The gateway URL depends on what your phone providers uses, you should be able to consult their documentation on the matter.

Hope this helps, if you have any additional questions, feel free to leave a reply on the post.

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.