Security & Identity: Implementing Google Social Sign-On in Salesforce (in English)
Updated 2026-11-07
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- A flow can be the registration handler. The video writes it in Apex. Salesforce now also lets you build it in Flow Builder, with an Identity User Registration flow and a template (Create an Authentication Provider Registration Handler, Salesforce Help, Winter '27, checked 2026-11-07).
- Auth providers have a PKCE setting. Salesforce's auth provider settings include "Use Proof Key for Code Exchange (PKCE) Extension"; the course turns it on (Configure a Salesforce Authentication Provider, Salesforce Help, Winter '27, checked 2026-11-07).
- The button: My Domain for the org, the icon for a site. For the org's own login page, the auth provider is added through My Domain, as in the video. The auth provider's icon appears only on an Experience Cloud site's login page: "It doesn't appear on your Salesforce login page or My Domain login URL" (Configure a Salesforce Authentication Provider, checked 2026-11-07).
- Check the ID token before you trust it. Not a platform change, and not in the video: "Salesforce doesn't validate the ID token" for the registration handler, so a handler that uses a claim from it should validate it first (RegistrationHandler Interface, Apex Reference Guide, checked 2026-11-07).
- The course's handler only matches. Not a platform change: the video's handler creates a new user with a standard profile. The course's handler matches an existing user and refuses everyone else, and the course tells the story with Priya.
Still right
- Social sign-on is set up in Salesforce with an auth provider, and Google is one of the ready-made types.
- Every auth provider used for login needs a registration handler, with two methods: create user and update user.
- The registration handler runs as a user you choose.
- The org needs My Domain, with the auth provider added to its login page.
- A basic handler creates a user for anyone who signs in, so it needs checks: who may come in, which profile, and the licences.
All videos in this series: ID와 접근
동영상은 클릭할 때만 YouTube에서 불러옵니다.