Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Configure a Google Authentication Provider
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
Authentication providers require you to use an app on the external identity provider to communicate with Salesforce. You can either set up an app yourself or use the default global app provided by Salesforce. In production, we recommend that you create your own app. For testing and for this example, you can use the global app, so you’re only required to fill in a few fields. Salesforce handles the rest.
- From Setup, in the Quick Find box, enter Auth, and then select Auth. Providers.
- Click New.
- From the Provider Type dropdown, select Google.
- For the name, enter Google IDP.
- Ensure that the URL suffix is Google_IDP.
-
For Registration Handler, click
, and then search for the name of the registration handler Apex class that
you created.
-
For Execute Registration As, click
, and then search for a user to run the registration handler Apex class.
This user must have the Manage Users permission. For this example, you can use your admin
user.
-
Leave the rest of the values blank, and save your changes.
In production, when you set up your own app on the third-party SSO provider, you must fill in these fields.