Skip to content

Commit

Permalink
docs: update README and example.env to include Twilio Verify credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-elhaddad committed Feb 11, 2025
1 parent 5399ffc commit aff7439
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,14 +680,22 @@ Controls the number of digits of the sms otp sent.

`SMS_PROVIDER` - `string`

Available options are: `twilio`, `messagebird`, `textlocal`, and `vonage`
Available options are: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, and `vonage`

Then you can use your [twilio credentials](https://www.twilio.com/docs/usage/requests-to-twilio#credentials):

#### Twilio Messaging

- `SMS_TWILIO_ACCOUNT_SID`
- `SMS_TWILIO_AUTH_TOKEN`
- `SMS_TWILIO_MESSAGE_SERVICE_SID` - can be set to your twilio sender mobile number

#### Twilio Verify

- `SMS_TWILIO_VERIFY_ACCOUNT_SID`
- `SMS_TWILIO_VERIFY_AUTH_TOKEN`
- `SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID`

Or Messagebird credentials, which can be obtained in the [Dashboard](https://dashboard.messagebird.com/en/developers/access):

- `SMS_MESSAGEBIRD_ACCESS_KEY` - your Messagebird access key
Expand Down
4 changes: 4 additions & 0 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ GOTRUE_SMS_PROVIDER="twilio"
GOTRUE_SMS_TWILIO_ACCOUNT_SID=""
GOTRUE_SMS_TWILIO_AUTH_TOKEN=""
GOTRUE_SMS_TWILIO_MESSAGE_SERVICE_SID=""
GOTRUE_SMS_PROVIDER="twilio_verify"
GOTRUE_SMS_TWILIO_VERIFY_ACCOUNT_SID=""
GOTRUE_SMS_TWILIO_VERIFY_AUTH_TOKEN=""
GOTRUE_SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID=""
GOTRUE_SMS_TEMPLATE="This is from supabase. Your code is {{ .Code }} ."
GOTRUE_SMS_MESSAGEBIRD_ACCESS_KEY=""
GOTRUE_SMS_MESSAGEBIRD_ORIGINATOR=""
Expand Down

0 comments on commit aff7439

Please sign in to comment.