How to access modified next-auth session in app router(next.js13-14)?
With Next.js 14 app router structure, I am modifying my session inside […nextAuth].ts middleware with basic JWT and Session callbacks.
Processing a form in app-router as client side and not server side
I’m trying to execute a login with next.js app router. I started with this: