Sfnext Authentication

Implement authentication in Storefront Next using split-cookie architecture, SLAS tokens, and auth middleware. Use when accessing user identity in loaders, detecting guest vs registered users, using getAuth or useAuth, or understanding session management and token refresh.

salesforcecommercecloud f6545d4 3.6 KB Updated

File contents

salesforcecommercecloud/b2c-developer-tooling/tree/main/skills/storefront-next/skills/sfnext-authentication commit f6545d4aa5

Frequently asked questions

npx skillmds@latest add salesforcecommercecloud/sfnext-authentication