Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Secure Your Salesforce Org
Develop an Apex Registration Handler

Develop an Apex Registration Handler

To set up single sign-on (SSO) with an authentication provider, you must build a registration handler. During SSO, the handler creates and updates users based on information from the identity provider. For high-scale, high-performance use cases, develop a registration handler with Apex.

Required Editions

Available in: Lightning Experience and Salesforce Classic
Available in: Enterprise, Performance, Unlimited, and Developer Editions

To develop a registration handler, create a class that implements the Auth.RegistrationHandler interface.

To use the registration handler, when you Define an Authentication Provider, specify Apex as the registration handler type and then select your Apex class for the registration handler.

If you don't want to use Apex, you can configure a registration handler with Flow Builder. See these resources for more information.

 
Loading
Salesforce Help | Article