How Clerk encodes multi-organization context
Clerk's session JWT places the currently-selected organization in `org_id` and the user's role in `org_role`. Crucially, this is the *active* organization only — if the user belongs to multiple orgs, the others are not in the token. Switching orgs in Clerk's frontend triggers a new session refresh that re-issues the JWT with the new `org_id`.
For applications that need to know all of a user's memberships up front (e.g., to render an "org switcher" without a round trip), use Clerk's `organizationMemberships` API server-side rather than expecting them in the token.