Cookies and trackers
This inventory covers frontend cookies and the two PostHog surfaces configurable in your deployment.
In brief
The misty_v2 cookie maintains the authenticated session and is strictly necessary for the service.
The delivered configuration leaves both the server PostHog token and the frontend PostHog key empty.
Who it's for, and when. Whoever fills in a cookie inventory, drafts a consent banner, or answers a question about the frontend's trackers.
You need no consent banner if you have configured neither the server PostHog token nor the frontend PostHog key: only functional cookies remain, and the table below is enough to document them.
Functional frontend cookies
| Name | Purpose | Creation and duration | Verified properties |
|---|---|---|---|
misty_v2 | Maintain the authenticated session | After authentication; 30 days | JWT, HttpOnly, SameSite=Lax, path /; Secure controlled by COOKIE_SECURE |
tenant_slug | Retain the tenant resolved from the host | On a request to a tenant subdomain or custom domain; session duration | Readable by the frontend, SameSite=Lax, path / |
brume_lang | Retain the language selected by a signed-out visitor | When the language changes; one year | Readable by the frontend, SameSite=Lax, path / |
sidebar_state | Retain whether the sidebar is open or closed | When its state changes; seven days | Readable by the frontend, path / |
brume_sso_binding (EE) | Bind the browser to the current OIDC authorization | At the start of SSO; 300 seconds, then deleted at the callback | HttpOnly, SameSite=Lax, path /api/auth/sso; Secure controlled by COOKIE_SECURE |
Classify misty_v2 as strictly necessary in your inventory: the browser sends it to the backend to authenticate requests and WebSocket connections. Also document the context, preference, and OIDC binding cookies present in your instance. The delivered configuration sets COOKIE_SECURE=false; adapt this setting to your deployment's TLS termination.
If you configure PostHog
The two surfaces operate independently.
| Surface | Activation | Data and features enabled | Cutoff |
|---|---|---|---|
| Backend, worker, and logs | POSTHOG_PROJECT_TOKEN at runtime | Email address used for identification; file and workspace metadata; errors; INFO+ logs; LLM prompts, outputs, tokens, latency, cost, and run identifiers | Set POSTHOG_PROJECT_TOKEN=, then restart the backend and workers |
| Browser | NEXT_PUBLIC_POSTHOG_KEY fixed at frontend build time | User identity, email, name, role, and tenant; page views and page-leave events; autocapture; exceptions; console; session recording | Rebuild and redeploy the frontend with NEXT_PUBLIC_POSTHOG_KEY= |
NEXT_PUBLIC_POSTHOG_HOST selects the destination but does not initialize the SDK without a key. A key already embedded in the bundle remains active after a runtime environment change alone.
If you configure PostHog, document the flow
Record the browser tracker, server events, logs, and LLM traces in your register. Configure retention and the required information or choice mechanisms in the project and deployment that you administer.
Verify the published configuration
Check the backend variables and the frontend build arguments used in production. A bundle built without a PostHog key leaves the browser provider inactive; a server without a token leaves the analytics and logging clients inactive.
To connect these trackers with other recipients, see Data flows and Your instance's external services.