4 ms·
Reverse-Engineering Belgium: De Lijn
- chmike 11y agoWhere could I find a clear explanation of JWT use ? I found this document (http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html 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.
- Allstar 11y agoAuth0 has a nice article about the differences here: https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/ https://auth0.com/blog/2014/01/07/angularjs-authentication-w... And you can play around with it using their interactive tool: http://jwt.io http://jwt.io