skip to Main Content

Mongodb occasional 500 error in production

I’m working on a nextjs project (https://recurwallet.vercel.app) and it connects to mongodb atlas. It works perfectly in localhost but in Vercel deployment occasionally I get this error with next auth. I don’t think the user session expired because sometimes I’ve…

VIEW QUESTION

Reactjs – Next js official tutorial – chapter 15 authentication – unwanted full page reload on successful login

I'm building a site based on this tutorial: https://nextjs.org/learn/dashboard-app/ At this section of the tutorial: https://nextjs.org/learn/dashboard-app/adding-authentication#protecting-your-routes-with-nextjs-middleware There is code that manages a login using next auth import type { NextAuthConfig } from 'next-auth'; export const authConfig = { pages: {…

VIEW QUESTION
Back To Top
Search