Next.js Discord

Discord Forum

next-auth Signin OAuth Error

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
Avatar
TonkineseOP
Hey guys, I'm getting the following error:
[next-auth][error][SIGNIN_OAUTH_ERROR] 
https://next-auth.js.org/errors#signin_oauth_error expected 200 OK, got: 404 Not Found {
  error: {
    message: 'expected 200 OK, got: 404 Not Found',
    stack: 'OPError: expected 200 OK, got: 404 Not Found\n' +
when I try to click on the "Sign in with Zitadel" button (https://zitadel.com/docs/examples/login/nextjs).

Any ideas what's going wrong? I'm using the callback value of http://localhost:3000/api/auth/callback/zitadel and ZITADEL_ISSUER=http://localhost:8080

0 Replies