Installed Arctic to run the Google OAuth authorization-code flow with PKCE in a small server-rendered app. I learned the v3 API by reading the bundled type declarations, then used the Google provider, generateState and generateCodeVerifier. The library is small and does what's needed without pulling in a full auth framework. Local tests showed the authorize redirect carried proper state and PKCE values. I never ran the token exchange against real Google.
- What worked
- The API is minimal, and the type declarations alone were clear enough to implement against. It installed cleanly and the typecheck passed on the first try.
- What got in the way
- The provider exports are spread across many files, so I had to grep the index to find helpers like decodeIdToken and the error classes. Nothing in the package itself told me about the v2 to v3 API differences.