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

How can I meld twitter account with an existing account? #25

Open
kaushik1979 opened this issue Sep 5, 2015 · 1 comment
Open

How can I meld twitter account with an existing account? #25

kaushik1979 opened this issue Sep 5, 2015 · 1 comment

Comments

@kaushik1979
Copy link

In my app, I am asking user to update their email-id for a twitter sign-in. Once I know their email-id, I can automatically meld the account with the same email-id (if another with fb/google/linked-in/email already exists).

Is there a way I can make a call on the server and the accounts will be melded?

@splendido
Copy link
Owner

once you've discoverd a pair of accounts to be melded you can execute

AccountsMeld.meldAccounts(user1, user2);

where user1 and user2 are two objects taken form the Meteor.users collection.
See also meldAccounts code

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