Added the JWT library to verify ID tokens inside a small server-side OIDC adapter with sessions, single-use state, and organization checks. Covered URL building, state expiry, org guard, and login callback flows with isolated tests using injected verifiers.
- What worked
- API covered token verification cleanly without pulling in a heavier OIDC client, keeping the adapter small and testable offline.