-
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
Cannot read property 'user' of undefined #137
Comments
I can still see this problem because the dist inside package.json returns an older version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm using sails
0.12.1
, node4.3.1
, sails-auth2.1.3
, sails-permissions2.2.0
When I tried to authorized with
/auth/google
or/auth/github
, from the debug log, i can see the auth profile was fetched, but later there was error aboutCannot read property 'user' of undefined
error:
i found a workaround with sails permission module on
.sailsrc
.sailsrc
with this sailsrc file, i can run
sails generate permissions-api
, but it only createdconfig\permissions.js
, are there supposed to be more created from the permissions-api?Another question, what's the default
callback
behavior? is it redirecting to\
or something?Thanks!
The text was updated successfully, but these errors were encountered: