Salesforce B2C SLAS Authentication Patterns

•
22
•

Implements advanced Salesforce SLAS authentication flows including passwordless login, passkeys, and session bridging for B2C Commerce.

This skill provides specialized guidance and implementation patterns for the Salesforce Shopper Login and API Access Service (SLAS). It helps developers navigate complex authentication requirements such as passwordless email and SMS OTP, biometric passkeys via WebAuthn, and critical session bridging between PWA Kit and SFRA storefronts. By providing structured code snippets for token exchange, JWT validation, and hybrid authentication sync, it ensures secure and seamless shopper identity management across the Salesforce Agentforce Commerce ecosystem.

Key Features

01WebAuthn/FIDO2 Passkey registration and login flows
02Trusted System on Behalf (TSOB) for backend integrations
03Session bridging between PWA Kit and SFRA storefronts
0422 GitHub stars
05Hybrid authentication for platform-wide identity sync
06Passwordless authentication (Email & SMS OTP) implementation

Use Cases

01Implementing secure system-to-system backend integrations using SLAS tokens
02Modernizing shopper login with biometric passkeys or OTP-based passwordless flows
03Maintaining session continuity for shoppers moving between React-based PWAs and legacy SFRA pages