Protect API routes with NextJS and Passport: req.user undefined

前端 未结 0 1482
梦毁少年i
梦毁少年i 2020-12-18 03:58

I am using NextJS for server-side rendering and I want to protect some "admin" pages on which I can do CRUD operations on my DB.

I succeded to add authentic

相关标签:
回答
  • 消灭零回复
提交回复
热议问题