3 ms·
I'm a newbie here, so not sure if this is the best way, but I recently implemented authentication in AngularJS/Express/Node app using passport.js and JWT on eac
by bjacobt 11y ago
I'm a newbie here, so not sure if this is the best way, but I recently implemented authentication in AngularJS/Express/Node app using passport.js and JWT on each request.
Sorry I don't have a write up, but here are some of the tutorials I followed
1. https://medium.com/opinionated-angularjs/techniques-for- https://medium.com/opinionated-angularjs/techniques-for-
authentication-in-angularjs-applications-7bbf0346acec
2. https://scotch.io/tutorials/authenticate-a-node-js-api-with-json-web-tokens https://scotch.io/tutorials/authenticate-a-node-js-api-with-...
3. https://scotch.io/tutorials/the-ins-and-outs-of-token-based-authentication https://scotch.io/tutorials/the-ins-and-outs-of-token-based-... <- This one is good as it gives you an idea of JWT and if it makes sense to use it in your project.
Edit: improve readability