Verification: SMS

VerificationCommunity Edition+

Introduction

The SMS verification code is a built-in verification type used to generate a one-time dynamic password (OTP) and send it to the user via SMS.

Adding an SMS Verifier

Navigate to the verification management page.

Add - SMS OTP

Administrator Configuration

Currently, the supported SMS service providers are:

When configuring the SMS template in the service provider's admin panel, you need to reserve a parameter for the verification code.

  • Aliyun configuration example: Your verification code is: ${code}

  • Tencent Cloud configuration example: Your verification code is: {1}

Developers can also extend support for other SMS service providers in the form of plugins. See: Extending SMS Service Providers

User Binding

After adding the verifier, users can bind a phone number in their personal verification management.

Once the binding is successful, identity verification can be performed in any scenario that uses this verifier.

User Unbinding

Unbinding a phone number requires verification through an existing bound method.