Function: parseOrgAuthChallenge()
parseOrgAuthChallenge(
wwwAuthenticate):OrgAuthInfo|null
Defined in: packages/sdk/src/api/base.ts:116
Parse org auth info from WWW-Authenticate header. Returns null if this is not an org auth challenge. Expected format: Bearer realm="org", org_uuid="...", cookie_name="...", auth_url="..."
Exported so non-SDK fetch paths (e.g. the app's same-origin file-content proxy fetches) can detect the same challenge and trigger the shared org step-up flow.
Parameters
wwwAuthenticate
string | null
Returns
OrgAuthInfo | null