OAuth 2.0 login error (http://localhost:3000/api/auth/error)

I was developing a NextJS webapp project in which I used OAuth 2.0 to sign in with Google, but it is not working; it shows an error. It should redirect to http://localhost:3000/api/auth/callback/google but it is being redirected to http://localhost:3000/api/auth/error.

github-repo-link:

For what I can see you not properly redirected the _log endpoint and so it throws a 404 error not found, because the routing path is invalid

How can i solve this.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.