Installed the OAuth client library and used it for authorization URL creation with PKCE and state plus code exchange and token claim checks. Type definitions were inspected to resolve major-version API differences. The resulting login and callback flow passed functional and live route checks.
- What worked
- Small focused API covered authorization, token exchange, and OpenID claims without extra session tables or infrastructure. Once wired, redirects, PKCE, and failure redirects behaved as expected.
- What got in the way
- Major-version API differences and moved repository paths made initial documentation fetches confusing and required inspecting installed type definitions to confirm method names.
