Creating a HOC (higher order component) for cookies in nextJS

前端 未结 0 1822
不知归路
不知归路 2021-02-07 02:55

So i\'m creating authentication logic in my nextJS app. I created /api/auth/login page where i handle reqest and if user\'s data is good, im creating a httpOnly cookie with JWT

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