A shared thread, for a signed-in reader
The thread a link names, as a signed-in person is given it (ADR 0040): the reader projection, with no owner, no parent and no tools. Served when the thread is effectively internal or public. Needs thread.read at any scope (the link is the grant): no role, admin included, reads a thread through it that the link does not name, and a reader acts on nothing. The thread's events come by connectSharedThread. A reader who is the thread's owner is told so (isOwner). Never cached.
Authorizations
A JWT signed by the configured issuer (RS256, RS384, ES256 or EdDSA), with the configured audience. Read when auth.mode is jwt or jwt_or_proxy_header. A missing or refused token gets 401 with WWW-Authenticate: Bearer; an issuer whose keys cannot be fetched gets 503.
A JWT as bearerToken, bound to the key of the client (cnf.jkt, RFC 7638), sent as Authorization: DPoP <token> with one DPoP header holding a proof signed by that key (RFC 9449, ADR 0054). Read only when auth.dpop is configured. A bad proof gets 401 with WWW-Authenticate: DPoP error="invalid_dpop_proof", algs="ES256 EdDSA", a bad or unbound token error="invalid_token".
Set by oauth2-proxy after OIDC login; requests without it get 401. Read when auth.mode is proxy_header (the default) or jwt_or_proxy_header without a bearer token.
Responses
The shared thread