Does someone know how to use JWT in sails.js with passport?
I saw this link to do it node.js : passport-local with node-jwt-simple
But routes and controllers with sails-generate-auth seems differents so I don't know how to integrate it
Does someone know how to use JWT in sails.js with passport?
I saw this link to do it node.js : passport-local with node-jwt-simple
But routes and controllers with sails-generate-auth seems differents so I don't know how to integrate it
Take a look at waterlock.ninja it's made for sailsJS and does all the JWT stuff OOTB :)
I found a repo on github doing exactly what I was looking for(passport + jsonwebtokens with sails on the back) with in bonus a frontend written in angular