How NextAuth.js and common authentication protocols work
NextAuth.js is a pluggable authentication library for Next.js with more than 11k GitHub stars
Welcome to the fourth edition of Tour de Source, a newsletter that dives into the source code of great open source projects and how they work!
Thang Vu is lead maintainer of NextAuth.js, an authentication library with over 11k stars on GitHub that makes is super easy for web apps to support common identity providers like Google, Facebook, Twitter, Okta, Auth0, and more. Thang provides a deep dive into the source of NextAuth.js and a lesson on how web authentication works in code.