The callback page was placed under app/(auth)/callback/ — a Next.js route group — which mapped to /callback instead of /auth/callback. Move it to app/auth/callback/ so the URL matches the Google OAuth redirect URI. |
||
|---|---|---|
| .. | ||
| (auth)/login | ||
| (dashboard) | ||
| (landing) | ||
| auth/callback | ||
| favicon.ico | ||
| custom.css | ||
| globals.css | ||
| layout.tsx | ||
| robots.ts | ||
| sitemap.ts | ||