Next.js 16 issues

I consistently get this error right after logging in with Google (see screenshot). However, when I click “Return to application,” I’m redirected to the homepage and the user appears to be signed in successfully. This started after upgrade to next.js 16. Before that, it worked perfectly.
No description
1 Reply
sili
sili6h ago
+1, also on nextjs 16. somehow the callback is being triggered twice. So the first one is successful, and the second one fails and redirects to this error page. And this is not react strict mode or something. Do you have any idea what could be the issue?

Did you find this page helpful?