bradtraversy / node_passport_login

Node.js login, registration and access control using Express and Passport
1.73k stars 1.3k forks source link

Problem with passport middle authentication #104

Open McRoche764 opened 2 years ago

McRoche764 commented 2 years ago

Hi Brad,

Thank you so much for your effort in making video tutorials so that newbees like myself can learn and benefit from a pro or should I say master like you.

I followed your tutorial on passport authentication using local strategy but I was stuck due to error message I'm getting when trying to log in. The error feedback message I'm getting from passport while trying to login was "Missing Credentials". There's no documentations on what do about this error or what it stands for.

Please help me out.

Thanks

muneeb-devp commented 2 years ago

Could you post the link to your repo? I'm guessing it's not an issue in this repo, you messed up something on your side. Some helpful links https://github.com/jaredhanson/passport-local/issues/97 https://stackoverflow.com/questions/59932890/nodejs-getting-missing-credentials-error-while-using-local-passport

McRoche764 commented 2 years ago

Thanks your right it probably my fault. I didn't examine my code properly otherwise I would have seen it. But after I carefully studied your code I found out where the bug lies and fixed it. Thanks man.

On Mon, Jan 10, 2022, 23:35 Muneeb Mughal @.***> wrote:

Could you post the link to your repo? I'm guessing it's not an issue in this repo, you messed up something on your side. Some helpful links jaredhanson/passport-local#97 https://github.com/jaredhanson/passport-local/issues/97

https://stackoverflow.com/questions/59932890/nodejs-getting-missing-credentials-error-while-using-local-passport

— Reply to this email directly, view it on GitHub https://github.com/bradtraversy/node_passport_login/issues/104#issuecomment-1009415020, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJFWXVOHC65RIQBW7HO66LUVNNMFANCNFSM5LCNRAWQ . You are receiving this because you modified the open/close state.Message ID: @.***>