Google Provider in Production #3027
Unanswered
niall-byrne
asked this question in
Help
Replies: 2 comments
-
I am also having problems with the google provider in v4, not sure if the same issue, but when using the prisma database adapter it saves the user but not the session or account GitHub and e-mail auth or working fine. It's just google. And I've never had troubles before v4 and without a database. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am also unsure how to debug this as there is no error just in the URL error=Callback and in the UI: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description 🐜
I'm seeing problems with the google provider in production (works fine on localhost with the same config).
Is this a bug in your own project?
No
How to reproduce ☕️
Scopes on google side are email and profile (I have experimented with the openID scope but it makes no difference.)
Works fine on localhost, does not work when deployed to Netlify.
Other oauth providers (Github, Spotify, Facebook all work fine in production - only Google is problematic.)
Screenshots / Logs 📽
Environment 🖥
Deployed to Netlify.
Again works fine when running on localhost.
Other oauth providers (Github, Spotify, Facebook all work fine in production - only Google is problematic.)
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
Memory: 1.50 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.18.1 - ~/.asdf/installs/nodejs/14.18.1/bin/node
npm: 6.14.15 - ~/.asdf/plugins/nodejs/shims/npm
Browsers:
Chrome: 94.0.4606.81
npmPackages:
next: ^11.1.2 => 11.1.2
next-auth: ^4.0.0-beta.4 => 4.0.0-beta.4
react: ^17.0.2 => 17.0.2
Contributing 🙌🏽
Yes, I am willing to help solve this bug in a PR
Beta Was this translation helpful? Give feedback.
All reactions