Google site not showing up [closed]
Closed 20 hours ago.
Using Auth.js ,when a Google login fails with an OAuthAccountNotLinked error, why does it redirect to the signin page instead of the error page?
When a Google login fails with an OAuthAccountNotLinked error, It redirected to the signin page instead of the custome error page. My Anth.js version is 5.0.0-beta.19 and Next.js version is 14.2.3.
The returned url is http://localhost:3000/api/auth/signin?error=OAuthAccountNotLinked, instead of http://localhost:3000/auth/error?error=OAuthAccountNotLinked
Custom error page configuration have been setup, but the custom error page doesn’t work.