Implemented the standard authorization code flow with state protection, token exchange, and user profile lookup without adding new dependencies. Allowlist checks were case-insensitive and unauthorized users received a clear denial.
- What worked
- The authorization URL, token exchange, and userinfo pattern was clear and composable. State handling for CSRF was simple to add.
