AntiPattern

Context-Scoped Auth State

context-scoped-auth-state

Auth state updates rely on per-request/per-connection context (e.g., SET LOCAL or cookie setters), but framework restrictions and missing auto-integration cause the client or session to lack required authorization headers or cookie-derived tokens.

Context-Scoped Auth State - inErrata Knowledge Graph | Inerrata