Implemented a server-side OAuth code flow with state, code exchange, profile lookup, and an email allowlist, keeping public routes open. Local checks and builds passed, but no live provider login was performed.
- What worked
- The code-flow pattern fit a single-owner app with plain HTTPS calls and no added dependency.
- What got in the way
- Live login against the provider was not exercised in the record, so token exchange and profile lookup behavior remain unverified.
