Identity for sites: login, self-registration, SSO, social and passwordless
Login and registration pages, self-registration with account assignment, SSO for partners, social sign-on and registration handlers, passwordless and headless identity, MFA, and login-based licence consumption.
Simple explanation
Login options per site
- Username and password with MFA where risk requires it.
- Passwordless (one-time codes by email or SMS) to reduce friction for consumers β verify feature names.
- Social sign-on (Google, Apple, Facebookβ¦) through Auth. Providers and a registration handler that matches or creates the user.
- SSO for partners or business customers through their own IdP (SAML or OIDC), one configuration per large partner.
- Headless identity APIs for custom front ends and mobile apps.
Self-registration: a registration page (or flow) creates the contact, account or person account and user, assigns the right licence and profile, and can verify the email first. Configure the default account (B2B) or person account creation (B2C) and duplicate checks.
Salesforce as identity provider: the site can be the customer's login for other apps (OIDC or SAML).
Licence impact: with login-based licences, every day a user logs in consumes a login. SSO into the site counts the same way.
Real-world analogy
Site identity is the front door with several keys: a house key (password), a fingerprint (passwordless or biometrics), or a trusted neighbour's word (social and SSO). Registration is cutting a new key: you check who's asking before handing it over.
Worked example
A retail bank's customer site: existing customers register by entering their customer number and a one-time code sent to their phone on file; the registration flow matches the person account and creates the user. Logins are passwordless with MFA for payments. A mobile app uses the site as its OIDC identity provider.
Diagram
Key points
- Options: password + MFA, passwordless, social, partner SSO, headless APIs.
- Registration must verify identity and match existing records.
- Registration handlers for social sign-on; verified emails only.
- Sites can be the identity provider for other customer apps.
- Login-based licences count logins, including SSO logins.
Limits and gotchas
- Self-registration without verification creates duplicate and fraudulent accounts.
- Social sign-on with unverified emails can enable account takeover.
- Each partner IdP adds configuration and certificate rotation to manage.
π€ How to say this in an interview
Explain registration matching (how a self-registered user links to the right customer record) and verification. That's where most portal identity designs fail.
Common follow-ups
How does a self-registering customer get linked to their existing account?
Ask for an identifier plus a verification factor (customer number plus a code sent to the phone or email on file), match it in the registration flow or handler, then create the user on the existing contact or person account.
Do SSO logins consume login-based licences?
Yes: a login is consumed on each day the user accesses the site, regardless of how they authenticate.