DEV Community

Discussion on: What I learned on my own | Implementing JWT Authentication on SailsJS (v1)

Collapse
 
christopheek profile image
Christophe El-Khoury

As per @pragathyt95 , sails generate policy [policy-name] is not working. After trying to navigate to Sails' Documentation, it led me to a dead link, which could mean that it's no longer there.

The concept and everything else will still work as they should! All what you need to do is manually creating the policy inside api/policies/<policy_name.js>