ce-auth

Enable secure authentication and user management for Commerce Engine storefronts.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/tark-ai/ce-starter-projects --skill ce-auth-tark-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-auth
Source: https://github.com/tark-ai/ce-starter-projects/tree/main/.agents/skills/ce-auth
Command: npx skills add https://github.com/tark-ai/ce-starter-projects --skill ce-auth-tark-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Commerce Engine authentication and user management. Anonymous sessions, OTP login, password auth, token refresh, profile management, and account flows.

Core Features & Use Cases

  • Anonymous bootstrap for live sessions
  • OTP login (email, phone, WhatsApp)
  • Password login and registration
  • Token refresh and session continuity
  • User profile management, and account flows
  • Hosted Checkout integration and public reads where appropriate

Quick Start

Initialize the storefront SDK, bootstrap an anonymous session, and start implementing login, registration, and profile management flows.

Frequently Asked Questions about ce-auth

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

FAQPage Schema
How do I implement OTP login for a Commerce Engine storefront?

Anonymous session bootstrap for a Commerce Engine storefront is handled by calling the ensureAccessToken endpoint, which provides an initial token to enable live browsing before user login or registration.

Can I use password registration and token refresh together in Commerce Engine?

Password registration and token refresh work together in Commerce Engine by creating a user account with credentials, then using the token refresh endpoint to maintain continuous authenticated sessions without repeated logins.

Does Commerce Engine authentication integrate with Hosted Checkout?

Commerce Engine authentication integrates with Hosted Checkout and supports public reads, allowing authenticated user profiles and anonymous sessions to flow securely into the checkout process for storefront transactions.

What is the best way to manage user profiles and forgot password flows in a storefront?

User profile management and forgot password flows in a storefront are handled through dedicated account endpoints, supporting profile updates, password resets, and account operations after secure authentication is established.

When do I need to bootstrap an anonymous session for storefront authentication?

Anonymous session bootstrap for storefront authentication is needed when a live Commerce Engine session requires an access token for public reads and API interactions before a user registers or logs in with credentials.