Azure 通信服务短信
在Casdoor中创建一个SMS提供商,并将类型设置为Azure ACS。 您需要:客户端密钥, 发送方号码, 提供商网址,以及模板代码。
| Casdoor 字段 | Azure ACS / 含义 | 必填 |
|---|---|---|
| 客户端密钥 | 用户访问令牌(通信服务) | 是 |
| 发送者号码 | 来自通信服务的电话号码 | 是 |
| 提供商Url | 通信服务端点 | 是 |
| 模板代码 | 消息模板/正文 | 是 |
Get credentials in Azure
- Client secret — In your Communication Service, create a User Access Token and use it as Client secret in Casdoor.

- 发件人号码— 使用通信服务中预配的电话号码。

- 提供商 URL— 使用通信服务端点URL。

在 Casdoor 中进行配置和测试
填写提供商字段。 模板代码是要发送的消息(或模板)。 使用短 信测试并提供电话号码以进行验证。
