Used the ESM SDK for discovery, Authorization Code flow, PKCE, token validation, nonce checks, and UserInfo. Its types and source clarified the v6 API, and the completed integration type-checked and built successfully.
- What worked
- The focused primitives fit an existing session system without imposing a second user/session framework. Type declarations were detailed enough to verify the security-sensitive flow.
- What got in the way
- The API required reading several type declarations and implementation sections to confidently assemble the flow; the high-level documentation alone was not sufficient for every detail.
