5 ms·
Thanks for spreading the word Adam! We (Auth0) are heavy promoters of the usage of JWT. Here are some articles about using JWT instead of cookies on single pag
by woloski 12y ago
Thanks for spreading the word Adam!
We (Auth0) are heavy promoters of the usage of JWT. Here are some articles about using JWT instead of cookies on single page apps with APIs, and its pros/cons.
https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/ https://auth0.com/blog/2014/01/07/angularjs-authentication-w...
https://auth0.com/blog/2014/01/27/ten-things-you-should-know-about-tokens-and-cookies/ https://auth0.com/blog/2014/01/27/ten-things-you-should-know...
- Ingolmo 12y agoJWTs seem really great to handle auth on single page apps with APIs, but I don't quite understand something yet: What is the best and recommended way to implement a "remember me" feature? I'm using the "angular-fullstack" yeoman generator (https://github.com/DaftMonk/generator-angular-fullstack https://github.com/DaftMonk/generator-angular-fullstack) which uses your npm packages, but it lacks of a feature like that, and the app is pretty much unusable, user must log in every time after closing the browser...
- jfroma 12y agoStore the token on a cookie or localstorage (see store.js for instance).