Before you configure a custom one-time password (OTP) delivery handler to send SMS
messages for Experience Cloud use cases, review these considerations.
Required Editions
| Available in: both Salesforce Classic (not available in all orgs) and Lightning
Experience |
| Available in: Professional, Enterprise, Unlimited, and
Developer Editions
|
Security Considerations
- If you use custom OTP providers, your Apex implementation has access to the OTP, which
isn't the case if you use the Salesforce default provider. With a custom OTP provider,
your Apex handler implementation, not Salesforce, performs identity verification. You're
responsible for the security and integrity of your code and implementation.
- You can choose to deliver OTPs via alternative delivery methods, such as iMessage, Rich
Communication Services (RCS), and WhatsApp. Before choosing any alternative delivery
methods, carefully consider the security implications.
- If you send an SMS message via a custom provider, and the user's phone number isn't
verified, Salesforce doesn't attempt to verify it. Salesforce can’t make sure that the OTP
gets delivered to a phone number that's verified by Salesforce. As a security best
practice, we recommend that you verify all phone numbers and configure your handler to
send OTPs only to verified phone numbers.
To understand differences in verification for custom OTP providers and the default
Salesforce provider, review these tables.
Other Implementation Considerations
- This feature is supported only for Salesforce Customer Identity. You can't use it for
internal users, also known as employees.
- This feature is supported for all Experience Cloud user licenses and the External Identity license. It doesn't require the
Identity Verification Credits add-on license.
- Because this feature relies on a custom provider to deliver the message, Salesforce
Customer Support can't troubleshoot issues with delivery. To fix delivery issues, work
with your provider.
- You must contact Salesforce Customer Support to use this feature. If Support gives you
access to this feature, you have the option to configure a custom OTP provider for all
Experience Cloud sites in your org. To keep your OTP delivery method consistent, if you
request access to this feature, we recommend using a custom OTP provider for all your
Experience Cloud sites. However, if you don't configure a custom OTP delivery Apex handler
for a site, it continues to use the Salesforce default delivery service.
- If Support gives you access to this feature, it isn't automatically enabled. To use this
feature, you must add a working custom OTP delivery handler to your Experience Cloud
site's settings.
- If you switch to a using a custom OTP provider, we don't recommend that you switch back
to the Salesforce default provider.