These are chat archives for waterlock/waterlock

12th
Apr 2015
Wayne Douglas
@wayne-o
Apr 12 2015 11:07
so now i have the auth header going with: Authorization:Bearer some token using ember-simple-auth-token but sails is totally ignoring it!
Wayne Douglas
@wayne-o
Apr 12 2015 11:56
I had to manually process the JWT - I think it's because Waterline assumes you are only interested in tokens for an authenticated route - we actually allow users to access an endpoint whethter they are logged in or not - we just personalise the response if they are - if I am correct here can someone say and if so I will create a new policy for populating the session with an ID but not rejecting the request if there is no JWT - does that make sense?