b2c-slas

Manage SLAS clients for B2C Commerce shopper authentication via b2c CLI.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-slas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-slas
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-slas
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-slas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies managing SLAS (Shopper Login and API Access Service) clients for shopper authentication within B2C Commerce, enabling you to configure credentials, test scenarios, and debug token issues without switching contexts.

Core Features & Use Cases

  • Client management: List, view, create, update, and delete SLAS clients to support storefront authentication needs.
  • OAuth scopes: Configure and test scopes, including custom scopes like c_loyalty, for targeted access.
  • PWA/headless readiness: Prepare clients for headless storefronts and progressive web apps with appropriate redirect URIs and channel mappings.
  • Token troubleshooting: Debug and validate tokens and client credentials with guided CLI commands.

Quick Start

Use the b2c CLI to manage SLAS clients. Example: b2c slas client list --tenant-id abcd_123 For creating a client with default scopes: b2c slas client create --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback

Frequently Asked Questions about b2c-slas

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

FAQPage Schema
How do I configure OAuth scopes for shopper authentication in B2C Commerce?

You can configure OAuth scopes for shopper authentication by using the b2c CLI to manage SLAS clients, allowing you to set up custom scopes like c_loyalty for targeted access. This involves creating or updating clients with specific scope parameters.

What is the process to create a SLAS client for a PWA headless storefront?

Creating a SLAS client for a PWA headless storefront requires using the b2c CLI to define appropriate redirect URIs and channel mappings. You execute a client creation command specifying your tenant ID, channels, and redirect URI.

How do I debug token issues across multiple B2C Commerce tenants?

To debug token issues across tenants, you can use the SLAS commands within the b2c CLI to validate client credentials and troubleshoot authentication tokens. This allows you to identify configuration problems without switching contexts.

Can I list and view existing SLAS clients for shopper login management?

Yes, you can list and view existing SLAS clients for shopper login management by running the b2c CLI list command with your specific tenant ID. This provides a clear view of all configured authentication clients.

Do I need external services beyond the b2c CLI to manage Shopper Login and API Access Service clients?

No, you do not need external services beyond the b2c CLI to manage Shopper Login and API Access Service clients. The Skill supports all client management operations directly through the built-in SLAS commands.

How do I update or delete SLAS clients when authentication requirements change?

You can update or delete SLAS clients when authentication requirements change by executing the respective update or delete commands via the b2c CLI. This ensures your shopper login credentials remain current.