Skip to content

DocsAccessRequired

reference
1 min readUpdated

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

PropertyType
code'DOCS_ACCESS_REQUIRED'
mode`'PASSWORD'
ssoboolean

Was this page helpful?

Download as PDF