Storefront Next Authentication Authentication is server-only . One middleware ( , registered in the array of ) runs on every request: it reads cookies, validates or refreshes the SLAS access token, performs a guest login when nothing usable exists, and writes . Tokens never reach the browser. Components only see a small non-sensitive slice through . Read in your project for the full reference; this skill is the task-oriented summary. Route modules use server / only, never / . Request flow 1. Valid access token (JWT in the future): use it. 2. Expired access token with a refresh token: refresh,…