Appwrite supports phone authentication, which allows users to create accounts and log in using SMS messages. Appwrite requires an SMS provider to be setup before using Phone authentication.
Appwrite supports a growing list of SMS providers that you can choose from. Choose one from the list below and set up an account.
|SMS Provider||Create Account||Get Credentials|
Update Your .env File
You will need to configure these environment variables and restart your Appwrite containers before you can use phone authentication.
|Twilio|| || |
|TextMagic|| || |
|TeleSign|| || |
|MSG91|| || |
|Vonage|| || |
Restart Your Appwrite Server
Once you've updated your
.env file, you need to restart your Appwrite instance. Navigate to the directory containing the
docker-compose.yml file of your Appwrite instance and run the following command from your terminal:
docker compose up -d
You can verify if the environment variables have changed by running this command:
docker compose exec appwrite-worker-messaging vars