8000 What bit of user data is common between Twitter and Facebook/Google/github... ? · Issue #111 · opauth/opauth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

What bit of user data is common between Twitter and Facebook/Google/github... ? 8000 #111

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

Open
pixeline opened this issue Jun 7, 2015 · 1 comment

Comments

@pixeline
Copy link
pixeline commented Jun 7, 2015

opauth is an incredibly useful tool _ thank you so much for putting this up.

Question: i'm using the user email address as a way to detect which user logged in, which is fine for Facebook, Google and Github; providing the user used the same email address on any of these providers, he is recognized.

But Twitter does not return the user email address, which is ennoying because I don't see any way I could match a user that would have register using his facebook account, and who tries to log in via his twitter account. I've looked in the Twitter raw response and I don't see any field that could be used to reliably identify a user who would have previously logged in via Facebook/G+ or Github.

As far as i know, the only unique identifier Twitter uses is the "nickname", which does not exist in the other providers response.

What would be a good work around?

@flamusdiu
Copy link

You would need to have Twitter authorize you to access their account then log their account info on the call back.

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
0