-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Oauth failed when Github runs ok : Server error There is a problem with the server configuration. #10089
Comments
I reproduce the same APP for GITHUB providers for testing purpose, login with GITHUB also not working, although i just added the github id and github secret key just, rest each and everything is same, Don't know what is the issue |
I also got the same error but then I followed this video and things worked out perfectly. Hope it helps. |
This is what I get. Is there any way we can show more information like the original request to & response from google?
/ And I believe I'm doing everything as the docs describes https://next-auth.js.org/providers/google
Authorized JavaScript origins
Authorized redirect URIs
|
This video uses pure react without next.js or next-auth. So you abandoned next-auth? @ShlokBharadwaj |
My problem is actually this one #3920 I switched to next-auth v4 to have figured out it's actually the request timed out. Maybe next-auth v5 could improve on error logging. |
Why there isn't a solution for this so popular issue, every application will chose to use goole login provider as thier first choice |
I met the same problem, I try much but no solution. this problem only occur in localhost, it works fine if I deploy to |
I got the same error. |
My project is deployed on Vercel, but the local tests are not working. |
After I read your link, this problem has been solved. Now google provider works normally on localhost:3000, the reason is indeed network problems. I think it is necessary to ensure that node can access Google server normally. |
I'm getting same error. did you solve it? |
I used next.js with next auth and didn't face any issues. The project is still running perfectly on my local machine and the hosted platform. |
Has anyone solved this issue? I'm encountering it with IdentityServer v5 and Duende IdentityServer 6. |
I have spent hours figuring out what was wrong and all it took to work is changing the network. That was funny and frustrating at the same time. |
I have the same problem, please help me, Локальный хост Works on dev environment no, |
Provider type
Google
Environment
System:
OS: macOS 14.3.1
CPU: (11) arm64 Apple M3 Pro
Memory: 351.67 MB / 18.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.6.1 - ~/.nvm/versions/node/v21.6.1/bin/node
npm: 10.2.4 - ~/.nvm/versions/node/v21.6.1/bin/npm
bun: 1.0.25 - ~/.bun/bin/bun
Browsers:
Chrome: 121.0.6167.184
Safari: 17.3.1
npmPackages:
next: latest => 14.1.0
next-auth: beta => 5.0.0-beta.13
react: ^18.2.0 => 18.2.0
Reproduction URL
https://github.com/wuzhuzhu/authjs-google-issue
Describe the issue
login by google leads to error screen:
Error on terminal:
How to reproduce
Google api console settings:
Publishing status :In production
OAuth credentials settings:
Expected behavior
Google oauth works fine as Github does.
The text was updated successfully, but these errors were encountered: