One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-slas-auth-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-slas-auth-patterns
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c/skills/b2c-slas-auth-patterns
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-slas-auth-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the complexity of implementing advanced SLAS authentication patterns in B2C Commerce. It enables passwordless login, session bridging between PWA Kit and SFRA, and hybrid storefront authentication, plus robust token management and JWT validation.

Core Features & Use Cases

  • Passwordless Email OTP, Passwordless SMS OTP, Passkeys
  • Session bridging between PWA Kit and SFRA for hybrid storefronts
  • Hybrid Auth integration and migration guidance
  • Token refresh workflows and JWT validation across clients
  • Trusted System on Behalf (TSOB) flows and secure backend integration

Quick Start

To begin, enable the SLAS authentication patterns, configure passwordless flows (Email OTP or Passkeys), set up session bridging between your PWA and SFRA storefronts, and implement token refresh and JWT validation according to the patterns described above.

Frequently Asked Questions about b2c-slas-auth-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement passwordless login with SLAS in B2C Commerce?

Passwordless login in B2C Commerce is implemented by configuring SLAS authentication patterns for Email OTP, SMS OTP, or Passkeys. You enable the SLAS authentication flows and set up the passwordless methods according to the pattern guidelines.

What is session bridging between PWA Kit and SFRA for hybrid storefronts?

Session bridging between PWA Kit and SFRA shares authentication state across hybrid storefronts. It uses SLAS patterns to maintain a unified token lifecycle, allowing authenticated users to transition seamlessly between PWA and SFRA environments.

How does JWT validation work across B2C Commerce clients and backend services?

JWT validation across B2C Commerce clients verifies token integrity and claims for authenticated sessions. It involves checking token signatures and claims across storefronts and backend services using SLAS token management workflows.

How do I handle SLAS token refresh workflows for scalable storefront integration?

SLAS token refresh workflows manage the token lifecycle by obtaining new access tokens using refresh tokens. This ensures reliable, scalable integration across B2C Commerce storefronts without requiring users to re-authenticate.

Can I use Trusted System on Behalf (TSOB) flows for secure backend integration with SLAS?

Yes, Trusted System on Behalf (TSOB) flows enable secure backend integration with SLAS. They allow backend services to perform actions on behalf of a registered user, utilizing SLAS authentication patterns to maintain secure token controls.