Fixes SMS not sending for country codes not supporting alphanumeric sender IDs (#5969)
* don't use alphanumeric sender ID for not support country codes * fix import * rename file * fix spelling mistakes * add twilio phone number to .env file * add SENDER_ID to env variable and create function to get sender id * add NEXT_PUBLIC_SENDER_ID env variable * remove not needed Cal fallback * fix readme * code clean up * code clean up Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
56c07ec351
commit
c1bbb9b139
13 files changed
+133
-32
No files matched your search
@@ -85,6 +85,8 @@ SENDGRID_EMAIL=
|
||||
TWILIO_SID=
|
||||
TWILIO_TOKEN=
|
||||
TWILIO_MESSAGING_SID=
|
||||
TWILIO_PHONE_NUMBER=
|
||||
NEXT_PUBLIC_SENDER_ID=
|
||||
|
||||
# This is used so we can bypass emails in auth flows for E2E testing
|
||||
# Set it to "1" if you need to run E2E tests locally
|
||||
|
||||
Reference in new issue
Block a user