News for hackers. Stuff that matters.
Re:Ask HN: Cookies vs. JWT vs. OAuth by iaaacdev on Sunday March 04, 2018 @07:30PM (#16517775)
As long as you protect against CSRF attacks (I do not know anything about passport.js), cookie authentication is okay provided the API is not going to be consumed by external sites.

There are no comments on this comment yet.