How to Set Up NextAuth.js with NextJS 14, App Router, and Typescript
1.) Puth these in .env.local file
NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="DwyqlAMSV********JhaUxW+RtnFuOpdB9LU=". GOOGLE_ID="********" GOOGLE_SECRET="********" GITHUB_ID="*******" GITHUB_SECRET="*******"
2.) Create src/app/api/auth/[…...
canerdemirciblog.hashnode.dev4 min read