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
Rick RoseRick Rose 

Provision user for SSO without confirmation email

We are developing a .net portal that displays cases from multiple salesforce instances. A user of the portal could take a case - at which point an account would be provisioned in Salesforce and they would be logged in using single sign on. We would like this process to be as seamless as possible to the user.

The problem is, every time an account is created Salesforce is going to want to send out a confirmation email. Is there any way to provision credentials without the confirmation email? 
Best Answer chosen by Rick Rose
Rick RoseRick Rose
Found the solution for anyone else who needs this info: 

First, when we create the user account we can suppress the email using the following code:

https://th3silverlining.com/2011/10/30/salesforce-stop-email-being-sent-on-user-creation-or-password-reset-or/ (https://th3silverlining.com/2011/10/30/salesforce-stop-email-being-sent-on-user-creation-or-password-reset-or/" target="_blank)
 
Second, if we set up Federated Authentication with the portal as the identity provider we can log the user in with SAML SSO.
https://developer.salesforce.com/page/Single_Sign-On_with_SAML_on_Force.com (https://developer.salesforce.com/page/Single_Sign-On_with_SAML_on_Force.com" target="_blank)