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: