Installed and imported the OAuth client library to implement authorization URL creation with state and PKCE plus code exchange and verified profile lookup. The small focused API fit the single-provider requirement without extra services or background jobs.
- What worked
- Authorization flow helpers and PKCE support mapped cleanly onto two login routes and the existing session creation logic.
- What got in the way
- Public API details for authorization URLs and profile fetching were not obvious from the installed package alone, so implementation required inspecting the distributed provider files.
