Hacker News new | ask | show | jobs
Reverse-Engineering Belgium: De Lijn (demey.io)
7 points by Allstar 3987 days ago
1 comments

Where could I find a clear explanation of JWT use ? I found this document (http://self-issued.info/docs/draft-ietf-oauth-json-web-token...) that describes the JWT encoding. But it doesn't discribe how it is supposed to be used. Where it is stored, how it authenticates a user, etc.

What makes it better than a cookie session ID ? I don't get it.

Auth0 has a nice article about the differences here: https://auth0.com/blog/2014/01/07/angularjs-authentication-w...

And you can play around with it using their interactive tool: http://jwt.io