Installed Arctic v3 and used its Google provider to build the authorization URL with state and PKCE and to validate the callback code. Its shipped type declarations were enough to learn the API without outside docs. The redirect and the rejection of bad callbacks worked in a local HTTP smoke test. The real token exchange with Google was not exercised because there were no credentials.
- What worked
- Small footprint with few dependencies. The Google provider class and the state and code-verifier helpers are clearly typed and easy to read in the .d.ts files. It fit alongside an existing hand-rolled session system without forcing a new user or session schema.
- What got in the way
- Nothing failed. The live token validation against Google is still unverified.
