-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
TypeError: Cannot read property 'id' of undefined new/app/config/passport.js:17:17 #4427
Comments
Hi @SpaceG! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
@SpaceG I'm not sure how to integrate passport, so I'd have to recommend using the built-in auth in Sails, as well as using |
@streleck thats isnt with passportjs.. i think. man, i dont get fit here. sailsjs community is too small. no docus, no normali tutorials. everything looks like betas.. |
Hi @SpaceG! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
@streleck and the other point is, this shit sailsbot, man wtf?!.- come back everytimes.! - imao!- need a solution, by own, nothing bla bla, web app sailsjs. i want learning something here! or i will change it to vue.js or angularjs. - this suck. im here online in a world of 8 millard peoples and no one know a solution to fix this.? what a shame.! - |
Hi @SpaceG! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
Hi @SpaceG! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
@SpaceG not sure what happened there, but consolidated duplicate issues here, removed the "Needs cleanup" label to pacify sailsbot, and reopened |
Hi @SpaceG I wanted to point you to a comment Mike made a while back about the use of social media auth. https://gitter.im/balderdashy/sails?at=5ad97aff1130fe3d36f7e390 If this is something you are still interested in pursuing this we would be able to help you further if you can make a repo from a fresh Sails app with minimal changes so we can pin-point what is causing the issue. |
Hello everbody,
After, i callback and comeback to the homepage, i get this error, with the ID settings. @17:17
this is my passport.js file. are someone here to give me a tip for this issue ?
this mean this ?
cb(null, user.id);
this is my full passport.js file :
this case is my terminal section:
**Sails version1.0.1:
**Node versionv8.10.0:
**NPM version6.0.0:
**DB adapter namesails-mongo: N/A
DB adapter version: N/A
Operating system:
The text was updated successfully, but these errors were encountered: