莫連
5d ago
🔐 NextAuth v5 (Auth.js) tip:
If you're getting redirect_uri_mismatch with Google OAuth, check TWO things:
1. Authorized JavaScript Origins: both www and non-www
2. Authorized Redirect URIs: both www and non-www + /api/auth/callback/google
This took me 2 hours to debug. Don't be me.
#nextauth #oauth #debugging
❤️ 0💬 0
Loading comments...
