zitadel/internal/repository/instance
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
..
aggregate.go feat(instance): add functionality to update instance (#4440) 2022-09-27 06:58:50 +00:00
custom_text.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
debug_notification_file.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
debug_notification_log.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
domain.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
event_default_language.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
event_iam_project_set.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
event_org_set.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
eventstore.go feat: add http as smtp provider (#8545) 2024-09-12 06:27:29 +02:00
idp_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp_jwt_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp_oidc_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp.go feat(saml): allow setting nameid-format and alternative mapping for transient format (#7979) 2024-05-23 05:04:07 +00:00
instance.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
member.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
oidc_settings.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
policy_domain.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_label.go feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
policy_login_factors.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_login_identity_provider.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_login.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_mail_template.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_mail_text.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_notification.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_age.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_complexity.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_lockout.go feat: provide option to limit (T)OTP checks (#7693) 2024-04-10 09:14:55 +00:00
policy_privacy.go feat(cnsl): docs link can be customized and custom button is available (#7840) 2024-05-13 16:01:50 +02:00
policy_security.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
secret_generator.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
sms.go feat: Add Twilio Verification Service (#8678) 2024-09-26 09:14:33 +02:00
smtp_config.go feat: add http as smtp provider (#8545) 2024-09-12 06:27:29 +02:00
trusted_domain.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00