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
Danielle SDanielle S 

Require SSO login

Hi All, 
We want to require user to login with SSO and preventing them to login using their username and password . I followed the instructions found here : 
https://help.salesforce.com/s/articleView?id=sf.sso_enforce_sso_login.htm&type=5

But We want the admins to be able to login both ways : SSO and username + password.
the option : Is Single Sign-On Enabled is deselected for the administrator profile. but when an admin try to login using his username and password. it doesn't work.
How can we do that ? 
Best Answer chosen by Danielle S
VinayVinay (Salesforce Developers) 
Hi Danielle,

You can enabling eelegated SSO at related profile or permission set, enable this permission at the profile or permission set level and assign to the user who should not be using their Salesforce usernames and password.

Check below references for more details.
https://bhanutejapulipalupula.medium.com/how-to-restrict-salesforce-users-to-login-using-username-and-password-and-enable-logging-in-only-48b157014ecd
https://www.gavan.in/2021/09/restricting-salesforce-username-and.html?m=1

Note: Once you enable Delegated SSO you cannot disable and you would need to contact salesforce support.

Please mark as Best Answer if above information was helpful.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Danielle,

You can enabling eelegated SSO at related profile or permission set, enable this permission at the profile or permission set level and assign to the user who should not be using their Salesforce usernames and password.

Check below references for more details.
https://bhanutejapulipalupula.medium.com/how-to-restrict-salesforce-users-to-login-using-username-and-password-and-enable-logging-in-only-48b157014ecd
https://www.gavan.in/2021/09/restricting-salesforce-username-and.html?m=1

Note: Once you enable Delegated SSO you cannot disable and you would need to contact salesforce support.

Please mark as Best Answer if above information was helpful.

Thanks,
This was selected as the best answer
Danielle SDanielle S
Thank you Vinay for your help :)