Open seaver-choy opened 1 month ago
OS: Mac Sonoma 14.4.1 Node: 21.7.3 "next": "14.0.3", "next-auth": "^4.24.5", "@next-auth/mongodb-adapter": "^1.1.3",
https://github.com/callbackph/callback-sample-repository/blob/master/auth.ts
pages: { signIn: '/register', verifyRequest: '/auth/verify-request', newUser: '/auth/new-user', },
await signIn
Unfortunately I can't reproduce this with the example app.
Could you try to put together a minimal reproduction? :pray:
Environment
Reproduction URL
https://github.com/callbackph/callback-sample-repository/blob/master/auth.ts
Describe the issue
await signIn
the first time, user document gets created, get redirected to newUser page.await signIn
calls STILL go to newUser page when using Google or Facebook LoginHow to reproduce
Expected behavior