Help wanted. Github OAuth works fine locally but stops working after deployment on Vercel #67278
-
SummaryLogs on vercel The website On clicking the sign in button reloading the page. it looks like everything is working fine, until after logging i get this error Github OAuth app Env vars on Vercel Here's my repo : https://github.com/RushilJalal/rushil-ecommerce-store Please feel free to ask me any questions. I'm a beginner and I would love to make this work. Additional informationAll error messages are in the above section
On running `next info`, I get an error Example |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
For me i solved the problem by deploying the project in small chunks and it started working |
Beta Was this translation helpful? Give feedback.
-
Update : page after clicking sign in I refresh the page...AND IT WORKS I have no idea why I am getting this 404 error |
Beta Was this translation helpful? Give feedback.
-
The error has been found. It was the NextJS version after all. |
Beta Was this translation helpful? Give feedback.
The error has been found. It was the NextJS version after all.
Read here: nextauthjs/next-auth#10585
Reverting back to
v14.1.2
fixed it.