Passkeys let a Contact sign in with a device PIN, fingerprint, face recognition or compatible security key. Email-code login remains available. Passkeys are disabled by default and use the existing portal session after successful verification. Verification and credential storage run inside Salesforce.
b3p__Passkey_Origin__c) to the exact HTTPS origin users visit. For example, use https://portal.example.com, without a path, query, port or trailing slash. Use the actual Salesforce Site hostname if no custom domain is configured. Use lowercase hostname characters.b3p__Passkeys_Enabled__c). Apply both values to the effective Portal settings record used by the Site guest user. Hierarchy overrides can take precedence over organisation defaults.@passkeys.This first implementation supports one exact origin per effective settings record. The relying-party identifier is that origin's hostname. Paths beneath the same origin share this scope. Unrelated custom domains, sandbox domains and production domains do not automatically share credentials. Choose the hostname before enrolment; changing it can require users to register again.
The login screen shows Sign in with a passkey only when the feature is enabled, the browser exposes WebAuthn in a secure context, and the current origin matches the configuration. Use a top-level browser page for the pilot; cross-origin iframe authentication is rejected.
No direct read or write access to Portal Passkey or Passkey Challenge records is required for the Site guest profile. Keep those objects private. The existing portal entry point performs the access checks.
Users can select Continue without adding. A cancelled registration does not discard their verified email login. Existing sessions and magic links alone cannot authorise enrolment: users must verify an email code in this flow. To add another passkey, sign out and sign in with email again.
Enrolment authorisation and authentication challenges expire after five minutes and are single use on success. An expired enrolment requires another email login. Up to ten active credentials are allowed per Contact. The initial supported credential algorithm is ES256/P-256; authenticators that cannot provide it must use email login.
Select Sign in with a passkey, choose the account offered by the browser, and complete local user verification. No email address is required for this path. The server checks the signed challenge, origin, relying-party identifier, user presence, user verification and credential ownership before issuing a session. Disabled Contacts cannot sign in.
The @passkeys link lists the signed-in Contact's active credentials for this origin. Select Remove to revoke one. Revocation prevents future sign-in with that credential; it does not remove the saved credential from a device or invalidate sessions already issued. Email login remains the recovery path.
Before wider rollout, test enrolment and sign-in on the supported desktop and mobile browsers at the real portal hostname, including the installed PWA if used. Confirm cancellation, email recovery, a second device, disabled Contacts and revoked credentials. Confirm that authentication fails offline even when the portal's page or data caching strategy is Cache Only or Cache First. Real-device and deployed-domain checks are separate from automated code tests.
See Login and registration and Magic links and session keys.