Google Sign In Error #11175
Replies: 2 comments 1 reply
-
And here is all my code: declare module "next-auth" { const credentialsConfig = CredentialsProvider({ const config = {
} satisfies NextAuthConfig; export const { handlers, auth, signIn, signOut } = NextAuth(config);` |
Beta Was this translation helpful? Give feedback.
-
I changed the local.env information and now everything is ok. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I am using Google and GitHub providers for logging into my website. Until last night, everything was working fine on my website, but since this morning, I can log in with Google intermittently. Sometimes it logs in correctly, and other times it might give an error!
The version I am using:
"next-auth": "^5.0.0-beta.16"
The error I am getting:
[auth][error] CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror [auth][cause]: TypeError: fetch failed at node:internal/deps/undici/undici:12502:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async globalThis.fetch (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:57569) at async handleOAuth (webpack-internal:///(rsc)/./node_modules/@auth/core/lib/actions/callback/oauth/callback.js:65:29) at async Module.callback (webpack-internal:///(rsc)/./node_modules/@auth/core/lib/actions/callback/index.js:32:41) at async AuthInternal (webpack-internal:///(rsc)/./node_modules/@auth/core/lib/index.js:39:24) at async Auth (webpack-internal:///(rsc)/./node_modules/@auth/core/index.js:126:34) at async C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:63809 at async eU.execute (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:53964) at async eU.handle (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:65062) at async doRender (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:1317:42) at async cacheEntry.responseCache.get.routeKind (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:1527:40) at async DevServer.renderToResponseWithComponentsImpl (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:1447:28) at async DevServer.renderPageComponent (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:1844:24) at async DevServer.renderToResponseImpl (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:1882:32) at async DevServer.pipeImpl (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:895:25) at async NextNodeServer.handleCatchallRenderRequest (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\next-server.js:269:17) at async DevServer.handleRequestImpl (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\base-server.js:791:17) at async C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\dev\next-dev-server.js:331:20 at async Span.traceAsyncFn (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\trace\trace.js:151:20) at async DevServer.handleRequest (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\dev\next-dev-server.js:328:24) at async invokeRender (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\lib\router-server.js:174:21) at async handleRequest (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\lib\router-server.js:353:24) at async requestHandlerImpl (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\lib\router-server.js:377:13) at async Server.requestListener (C:\Users\amin.LAPTOP-G81PJ29N\Desktop\udemy center\frontend\node_modules\next\dist\server\lib\start-server.js:140:13) [auth][details]: { "errno": -4077, "code": "ECONNRESET", "syscall": "read", "provider": "google" }
Beta Was this translation helpful? Give feedback.
All reactions