Closed lepus2 closed 7 years ago
Hi lepus2 ...The signup workflow is not setting the user email as verified. Take a look at this example: https://github.com/strongloop/loopback-example-user-management/blob/master/common/models/user.js#L5-L35
in the loopback-example-passport this command here has no effect.
User.afterRemote('create', function(context, user, next) {
I'm really desperated right now, don't know what to do =/
The local login is not working so the whole project here makes no sense.
@lepus2 @overfried
I made a fork and also a pull request to fix this problem!
You can get it here: https://github.com/schmidigital/loopback-example-passport
The problem why this happened is here:
https://github.com/strongloop/loopback-component-passport/issues/161
They added email verification as a must-have but didn't care about the email verification process itself ;)
@smith64fx Have you implemented this passport-connector for other login module too. I am trying to crete a passport login via LinkedIN and Google also in Loopback and i have no idea how to do this. I tried to learn by using example but i have found that it already have a lot of issues. If you have created your application can you tell me how to do it ??
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
I'd like to apply loopback-passport so that I have tried 'loopback-example-passport'. I clone this repository and modify provider.json a bit. (Facebook id and secret...) There's nothing more I have changed. I succeeded to Facebook login but I was not able to login locally. I can make a new ID by '/signup' page and I checked out in db.json. However, when I tried to login with the account I just made up, they said "Invalid username/password or email has not been verified"
I think something wrong with the source but I couldn't figure it out. Please help me with this issue!!
Thanks in advance :)