We write stuff from time to time that might be interesting
Add authentication to Next.js with secure sessions, protected routes, and built-in OAuth/OIDC flows.