Passer au contenu principal

Aperçu

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. Cliquez sur Ajouter pour ajouter un nouveau fournisseur.

  2. Sélectionnez SMS dans la section Catégorie.

    Sélectionner une catégorie

  3. Choisissez le type de votre fournisseur.

    Sélectionner un type

  4. Récupérez les informations nécessaires auprès de votre fournisseur de SMS et remplissez les champs correspondants.

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.