JSON Web Token Authentication with Django and AngularJS

added by JavaScript Kicks
11/14/2014 9:23:30 AM


The most common approach to authentication is cookie-based authentication. A more modern approach that is quickly gaining support is token-based authentication with JSON Web Tokens.


Dom Barker
11/14/2014 1:49:33 PM
whats wrong with OAuth?

Robert Greyling
11/14/2014 2:03:32 PM
Not sure there's anything wrong with OAuth, but maybe you'll need to expand on the question. My understanding is that they are just similar technologies. JWT is particularly popular in the AJAX space from what I can tell at the moment.

Dom Barker
11/14/2014 2:05:04 PM
Just wondering what the benefit of JWT is over OAuth, seeing as OAuth is a mature standard and (IMO) you need very good reasons to introduce a new one.