Pular para o conteúdo principal

Visão Geral

We use casdoor/go-sms-sender to send SMS for Casdoor. The go-sms-sender library currently supports Twilio, Submail, SmsBao, Alibaba Cloud, Tencent Cloud, Huawei Cloud, and Volc SMS APIs. If you want to add support for other SMS providers, you can either raise an issue or submit a pull request.

Adding an SMS provider

  1. Clique em Add para adicionar um novo provedor.

  2. Selecione SMS na seção Category.

    Selecionar Categoria

  3. Escolha o tipo do seu provedor.

    Selecionar Tipo

  4. Recupere as informações necessárias do seu provedor de SMS e preencha os campos correspondentes.

Proxy configuration

For SMS providers that use HTTP APIs (such as Custom HTTP SMS), you can enable proxy support if your server cannot directly access the SMS service. When enabled, SMS traffic will be routed through the SOCKS5 proxy configured in Casdoor's configuration file.

To enable proxy support, toggle the Enable proxy switch in the provider settings. This option is available for Custom HTTP SMS providers and helps when operating in restricted network environments.