Herve ngalamulume
Results
1
comments of
Herve ngalamulume
this is a solution import { withAuth } from "next-auth/middleware" export default withAuth( function middleware(req) { console.log('req: ', req); console.log(req.nextauth.token) }, ) export const config = { matcher: ["/"]}