Installed and imported the OIDC client library to handle discovery, authorization URL building, code exchange, and token validation behind a small app-specific auth module with cookie sessions and organization checks. Version metadata lookup and type inspection helped settle the API shape, and offline tests with a stubbed client passed.
- What worked
- Installed cleanly, imported as an ES module, and covered discovery plus authorization and token exchange without custom crypto.
- What got in the way
- Export and signature discovery required inspecting build output and type declarations rather than following a single clear example.
