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
TheRotnelsonTheRotnelson 

Single Sign on configurations and methods available trough Apex?

Hi,
Are the Single Sogn On setting and methods available trough from Apex controllers?
I would like to create custom VF login page exposing the different authentication options for the user in Customer Community.
Best Answer chosen by TheRotnelson
TheRotnelsonTheRotnelson
AuthConfiguration Class (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_AuthConfiguration.htm#apex_Auth_AuthConfiguration_getAuthProviderSsoUrl)Contains methods for configuring user settings for users to log in to Salesforce using an authentication provider, such as Google or Facebook instead of using Salesforce credentials. Users log in to a Salesforce community, or a subdomain created with My Domain.
 

All Answers

Rahul KumarRahul Kumar (Salesforce Developers) 
hi Rotnelson,

Please refer the below link Best Practices for Implementing Single Sign-On.

https://help.salesforce.com/articleView?id=sso_tips.htm&type=0

I hope it will be helpful.

Best Regards
Rahul Kumar
TheRotnelsonTheRotnelson
AuthConfiguration Class (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_AuthConfiguration.htm#apex_Auth_AuthConfiguration_getAuthProviderSsoUrl)Contains methods for configuring user settings for users to log in to Salesforce using an authentication provider, such as Google or Facebook instead of using Salesforce credentials. Users log in to a Salesforce community, or a subdomain created with My Domain.
 
This was selected as the best answer