custom-phone-provider
Actions Trigger for phone notifications rather than the send-phone-message
Actions Trigger for custom phone notifications.
You cannot directly migrate your send-phone-message
Actions trigger to the custom-phone-provider
Actions trigger because:
send-phone-message
and post-login
triggers.
send-phone-message
and custom-phone-provider
Actions triggers support different event types:
send-phone-message
supports the SMS and Voice message types. To learn more, read Action triggers: send-phone-message Event Object.custom-phone-provider
supports the otp_verify
, otp_enroll
, blocked_account
, change_password
, and password_breach
notification types. To learn more, read Actions triggers: custom-phone-provider Event Object.send-phone-message
into a new custom-phone-provider
using the new contextual variables:
Core payload
send-phone-message context object | custom-phone-provider context object | Status |
---|---|---|
text | notification.as_text and notification.as_voice | Updated |
message_type | notification.message_type
| Updated |
action | notification.delivery_method | Updated |
language | notification.locale | Updated |
code | notification.code | Updated |
recipient | notification.recipient | Updated |
Request data
send-phone-message context object | Tenant-level provider context object | Status |
---|---|---|
ip | ip | Unchanged |
user_agent | user_agent | Unchanged |
language | language | Updated |
method | method optional | Updated |
hostname | hostname optional | Updated |
geoip | geoip | Updated |
Tenant data
send-phone-message context object | Tenant-level provider context object | Status |
---|---|---|
tenant.id | tenant | Updated |
N/A | tenant.home_url | New |
N/A | tenant.logo_url | New |
N/A | tenant.support_email | New |
N/A | tenant.support_url | New |
Application data
send-phone-message context object | Tenant-level provider context object | Status |
---|---|---|
client.client_metadata | client.metadata | Updated |
client.client_id | client.client_id | Unchanged |
client.name | client.name | Unchanged |
User data
send-phone-message context object | Tenant-level provider context object | Status |
---|---|---|
user.user_id | user.user_id | Unchanged |
user.name | user.name | Unchanged |
user.email | user.email | Unchanged |
user.app_metadata | user.app_metadata | Unchanged |
user.user_metadata | user.user_metadata | Unchanged |
user.email_verified | user.email_verified | Unchanged |
user.phone_number | user.phone_number | Unchanged |
user.phone_verified | user.phone_verified | Unchanged |
user.picture | user.picture | Unchanged |
user.created_at | user.created_at | Unchanged |
user.updated_at | user.updated_at | Unchanged |
user.multifactor | user.multifactor | Unchanged |
user.identities | N/A | Removed |
user.family_name | user.family_name | Unchanged |
user.given_name | user.given_name | Unchanged |
user.nickname | user.nickname | Unchanged |
user.username | user.username | Unchanged |
N/A | user.login_count | New |
custom-phone-provider
trigger:
send-phone-message
Action code in the embedded code editor.Current MFA Phone factors | Desired MFA factors | Tenant-level delivery method | User action |
---|---|---|---|
SMS | Voice | SMS | User must update tenant-level provider to allow for desired MFA phone factor |
SMS | Voice | SMS + Voice | None |
SMS | SMS + Voice | SMS | User must update tenant-level provider to allow for desired MFA phone factor |
SMS | SMS + Voice | SMS + Voice | None |
Voice | SMS | SMS + Voice | User must update tenant-level provider to allow for desired MFA phone factor |
Voice | SMS | SMS + Voice | None |
Voice | SMS + Voice | Voice | User must update tenant-level provider to allow for desired MFA phone factor |
Voice | SMS + Voice | SMS + Voice | None |
SMS + Voice | SMS | SMS + Voice | None |
SMS + Voice | Voice | SMS + Voice | None |
MFA Phone factors | Current tenant-level delivery method | Desired tenant-level delivery method | User action |
---|---|---|---|
SMS | SMS | SMS + Voice | None |
SMS | SMS | Voice | User must update MFA phone factors to be a subset of the delivery methods enabled for the tenant-level provider |
SMS | SMS + Voice | Voice | User must update MFA phone factors to be a subset of the delivery methods enabled for the tenant-level provider |
SMS | SMS + Voice | SMS | None |
Voice | Voice | SMS | User must update MFA phone factors to be a subset of the delivery methods enabled for the tenant-level provider |
Voice | Voice | SMS + Voice | None |
Voice | SMS + Voice | SMS | User must update MFA phone factors to be a subset of the delivery methods enabled for the tenant-level provider |
Voice | SMS + Voice | Voice | None |
SMS + Voice | SMS + Voice | SMS | None |
SMS + Voice | SMS + Voice | Voice | None |
Send-phone-message Guardian endpoint | Scope |
---|---|
read:guardian_factors | |
read:guardian_factors | |
update:guardian_factors | |
update:guardian_factors | |
read:guardian_factors | |
update:guardian_factors |
Phone Provider Branding endpoint | Scope |
---|---|
read:phone_providers | |
update:phone_providers | |
create:phone_providers | |
read:phone_templates | |
update:phone_templates | |
create:phone_templates | |
delete:phone_templates | |
delete:phone_providers |
MFA phone factor endpoint | Scope |
---|---|
read:guardian_factors | |
update:guardian_factors | |
read:guardian_factors | |
update:guardian_factors |