Skip to content
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

Turborepo Next Auth Server Error #11926

Open
frank-mendez opened this issue Sep 30, 2024 · 0 comments
Open

Turborepo Next Auth Server Error #11926

frank-mendez opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@frank-mendez
Copy link

Environment

  System:
    OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (6) x64 AMD Ryzen 5 3500X 6-Core Processor
    Memory: 7.39 GB / 15.54 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 21.6.2 - ~/.nvm/versions/node/v21.6.2/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v21.6.2/bin/npm
    Watchman: 2024.05.06.00 - /home/linuxbrew/.linuxbrew/bin/watchman
  Browsers:
    Chrome: 129.0.6668.70

Reproduction URL

https://github.com/frank-mendez/turborepo/tree/main/apps/web

Describe the issue

Currently, I'm using turbo repo and installed nextauthjs on my app. I'm using page router. Here is my setup

image

Here are the versions of my next, next-auth, react

image

I used google as my OAuth provider. I have already added my client id and client secret on my .env.local

When I tried to signIn here is the error

image

How to reproduce

Create a template apps from turborepo add next-auth, follow instructions from https://authjs.dev/getting-started/authentication/oauth then try to signIn using google provider

Expected behavior

It should not return any server error

@frank-mendez frank-mendez added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant