These are chat archives for waterlock/waterlock

Mar 2015
Will Dent
Mar 21 2015 13:51
@davidrivera we’re building a mobile API for Sails and administration for it using waterlock. With regard to JWT and login/create. It seems it would be ideal to maybe have a config setting under login and a new one called create a boolean like “returnJWTtoken: true” would be ideal. Curious on your thoughts on this approach. Then just putting a check in the waterline lifecycle events to return the token in the header/results would eliminate the need to login and then make a call to jwt/create