I created an issue with a repro, although the maintainers moved it to discussions. It seems that the problem is with Google, but in that case I don't understand why the next-auth example works fine[2].
There are other users affected. If anyone knows how to solve this problem, I would appreciate it if you could say so.
https://github.com/nextauthjs/next-auth/discussions/11160 https://next-auth-example.vercel.app/