-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use sails-auth in sails project? #124
Comments
+1 The routes suggested in the readme are returning 404's for me after following the instructions. |
After installing this package I was expecting a GET to /auth/facebook on my app to "simply" exist and return a 302 redirect, due to
But I only get a 404 Not Found... I'm getting marlinspike/sails-auth debug messages btw:
|
I just did a writeup on installing the sails-permissions package that includes detailed instructions for sails-auth. Here's a link. |
In my case, the problem was sails version. Seems like it's working only with Sails >= 0.12 |
Using sails 12 and the latest sails-auth works, without having to do any configuration by hand |
Just use the files from sails-permission code! |
how can i use sails-auth hook in my sails project.I installed sails-auth using npm install sails-auth --save.and when running project terminal logs says sails-auth controllers,services,models are loaded using marlinspike. But i don't have any idea about further steps.please help me..
The text was updated successfully, but these errors were encountered: