Kind: Interface
Source: atloria-monorepo/apps/web/src/app/p/[slugId]/lib/readerFetch.ts
WEB-4: on hosts where cookie auth is enabled (isCookieAuthHost), the reader talks to the same-origin proxy (/reader-api/*), which attaches the reader token from an httpOnly cookie server-side — the token never lives in JS/localStorage. Otherwise: the legacy cross-origin API + X-Atloria-Reader-Token header.
Properties
| Property | Type |
|---|---|
code | 'DOCS_ACCESS_REQUIRED' |
mode | `'PASSWORD' |
sso | boolean |
Was this page helpful?