zitadel/internal/notification/channels
Livio Spring 14e2aba1bc
feat: Add Twilio Verification Service (#8678)
# Which Problems Are Solved
Twilio supports a robust, multi-channel verification service that
notably supports multi-region SMS sender numbers required for our use
case. Currently, Zitadel does much of the work of the Twilio Verify (eg.
localization, code generation, messaging) but doesn't support the pool
of sender numbers that Twilio Verify does.

# How the Problems Are Solved
To support this API, we need to be able to store the Twilio Service ID
and send that in a verification request where appropriate: phone number
verification and SMS 2FA code paths.

This PR does the following: 
- Adds the ability to use Twilio Verify of standard messaging through
Twilio
- Adds support for international numbers and more reliable verification
messages sent from multiple numbers
- Adds a new Twilio configuration option to support Twilio Verify in the
admin console
- Sends verification SMS messages through Twilio Verify
- Implements Twilio Verification Checks for codes generated through the
same

# Additional Changes

# Additional Context
- base was implemented by @zhirschtritt in
https://github.com/zitadel/zitadel/pull/8268 ❤️
- closes https://github.com/zitadel/zitadel/issues/8581

---------

Co-authored-by: Zachary Hirschtritt <zachary.hirschtritt@klaviyo.com>
Co-authored-by: Joey Biscoglia <joey.biscoglia@klaviyo.com>
2024-09-26 09:14:33 +02:00
..
email feat: add http as smtp provider (#8545) 2024-09-12 06:27:29 +02:00
fs refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instrumenting feat: call webhooks at least once (#5454) 2023-03-28 22:09:06 +00:00
log feat: api v2beta to api v2 (#8283) 2024-07-26 22:39:55 +02:00
mock fix: add action v2 execution to features (#7597) 2024-04-09 20:21:21 +03:00
sms feat: add http as sms provider (#8540) 2024-09-06 13:11:36 +00:00
smtp feat: add http as smtp provider (#8545) 2024-09-12 06:27:29 +02:00
twilio feat: Add Twilio Verification Service (#8678) 2024-09-26 09:14:33 +02:00
webhook refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
channel.go feat: call webhooks at least once (#5454) 2023-03-28 22:09:06 +00:00
gen_mock.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00