CookieStateStorageOptions
Defined in: src/client/cookie-state-storage.ts:29
Properties
Section titled “Properties”domain
Section titled “domain”domain:
string
Defined in: src/client/cookie-state-storage.ts:39
Domain to scope the cookie to, e.g. example.com so a.example.com and
b.example.com share one sign-in.
Must be the current host or a domain above it: the browser rejects a cookie scoped to anything else, including a sibling subdomain, and refuses a public suffix — so an over-broad value fails rather than leaking to unrelated sites. Nothing needs to be served at the domain; it is only a scope.