Open quantjin opened 8 years ago
Hello, I found below in the document
it looks like the setup for authorization, but what should I put there if I'm using passport?
module.run(function($sailsSocket) {
$sailsSocket.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w'
});
Same problem
Hello, I'm using passport to do authorization, i'm getting below error while using
$sailsSocket
is there anyway to authorize $sailsSocket requests?
thanks!
Error from console:
policies\sessionAuth.js
config\policies.js