Saltar al contenido principal

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 / meaningRequired
Secreto del clienteUser Access Token (Communication Service)Yes
Número del remitentePhone number from Communication ServiceYes
URL del proveedorCommunication Service endpointYes
Template codeMessage template / bodyYes

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