function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rashmi Budakotirashmi Budakoti 

How to implement a OTP generation for create account

Hi All,
I have a scenario where I need to send an otp whenever a customer creates an account via create an account option from the login form. Is there any way to implement this function in IDP (Salesforce as an identity provider). If not, then how can I implement this.

Thanks,
Rashmi
bhanu_prakashbhanu_prakash
Hi Rashmi,

Please check these link
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/security_3p_sms_2fa_login_flow.htm

let us know if it helps you and mark it best if it helps you
Thanks, 
Bhanu Prakash
visit ForceLearn.com  (https://www.forcelearn.com)
rashmi Budakotirashmi Budakoti
Thanks, @bhanu_prakash for all the help. Have one more query.

Since we don't want to use a third-party app, Is there any way by which I can send generated OTP (from an apex class) via Salesforce marketing cloud to a contact.

Regards,
Rashmi
bhanu_prakashbhanu_prakash
Hi Rashmi,
yes you can use Salesforce Authenticator for iOS, Salesforce Authenticator for Android, or Google Authenticator
check these link
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/add_time-based_token.htm

 
Fun with SalesforceFun with Salesforce
If you want to learn, how we can create OTP in Salesforce, Kindly visit my Youtube channel https://youtu.be/KAKxmJHQSZg please do not forget to subscribe to my channel 
Thanks in advance