Skip to content
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

User is registered twice #13

Open
ahmedhany opened this issue Apr 11, 2016 · 2 comments
Open

User is registered twice #13

ahmedhany opened this issue Apr 11, 2016 · 2 comments

Comments

@ahmedhany
Copy link

I am having a problem with facebook login as the user is registered as a new one again after registering the first time. When I looked at the database I found that the facebook Id is saved in a strange format -> '1.01568e16'. I think that when findOrCreate function is executed it doesn't find the Fb Id saved as retrieved from facebook so it registers a new one.

Another thing is that no attributes from facebook are saved 'email', 'first_name', etc. Please help.

Waterlock config:

fieldMap: {
// : ,
'firstName': 'first_name',
'lastName': 'last_name',
'gender': 'gender',
'timezone': 'timezone'
}

@ahmedhany
Copy link
Author

I changed the facebookId column type to string and it worked, but still doesn't grab user email and other info from facebook

@ahmedNY
Copy link

ahmedNY commented Oct 1, 2016

i had the same issues, duplicate users and no email
am using mysql to store data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants