News for hackers. Stuff that matters.
Re:Authentication Techniques for APIs by linkedlist007 on Tuesday May 09, 2017 @09:28AM (#14299781)
Is there a book to learn more indepth about all these?
Re:Authentication Techniques for APIs by skynode on Tuesday May 09, 2017 @12:09PM (#14301197)
For traditional sessions:

1. All You Ever Wanted to Know About Sessions In Node.js (Stormpath) - https://stormpath.com/blog/everything-you-ever-wanted-to-kno...

2. Express.js Production Best Practices - https://expressjs.com/en/advanced/best-practice-security.htm...

3. express-session (npm module) - https://ewiggin.gitbooks.io/expressjs-middleware/content/exp...

4. Node.js authentication strategy using Passport.js and Redis - https://blog.risingstack.com/node-hero-node-js-authenticatio...

For JSON Web Tokens:

1. JWT Handbook: https://auth0.com/e-books/jwt-handbook

2. IETF Specification: https://tools.ietf.org/html/rfc7519

3. https://jwt.io/

4. Authentication in React Applications, Part 2: JSON Web Tokens - https://vladimirponomarev.com/blog/authentication-in-react-a...

6. Token Authentication Implementation - https://docs.docker.com/registry/spec/auth/jwt/

7. JWT Validation and Authorization in ASP.NET Core - https://blogs.msdn.microsoft.com/webdev/2017/04/06/jwt-valid...

Re:Authentication Techniques for APIs by why-el on Tuesday May 09, 2017 @10:42AM (#14300406)
Not specifically about the web, but Cryptography Engineering: Design Principles and Practical Applications is my favorite book on the subject. It's not a thorough treatment of the subject of security, but it shows how much care needs to be given to such systems and why security is hard in general. Throughout the book you will find plenty of advice on how to approach such problems, even for the web.
Re:Authentication Techniques for APIs by somebehemoth on Tuesday May 09, 2017 @04:45PM (#14303655)
I have learned a lot about OAuth from: Mastering OAuth 2.0 by Charles Bihis.
Re:Authentication Techniques for APIs by cuonic on Tuesday May 09, 2017 @09:54AM (#14299992)
OWASP [0] is a good resource for most things Web Security related

[0]: https://www.owasp.org/index.php/JSON_Web_Token_(JWT)_Cheat_S...

Re:Authentication Techniques for APIs by bimbam1024 on Tuesday May 09, 2017 @09:32AM (#14299814)
Its called the internet