Перейти до основного вмісту

Azure Communication Services SMS

Create a SMS provider in Casdoor and set Type to Azure ACS. You need: Client secret, Sender number, Provider Url, and Template code.

Casdoor fieldAzure ACS / meaningНеобхідно
Client secretUser Access Token (Communication Service)Так
Номер відправникаPhone number from Communication ServiceТак
URL провайдераCommunication Service endpointТак
Код шаблонуMessage template / bodyТак

Get credentials in Azure​

  • Client secret — In your Communication Service, create a User Access Token and use it as Client secret in Casdoor.

azureToken.png

  • Sender number — Use a phone number provisioned in the Communication Service.

azurePhone.png

  • Provider Url — Use the Communication Service endpoint URL.

azureUrl.png

Configure and test in Casdoor​

Fill in the provider fields. Template code is the message (or template) to send. Use SMS Test with a phone number to verify.

azureProvider.png