简体   繁体   English

流星帐户套件:根据电子邮件地址合并帐户

[英]Meteor accounts suite: Merge accounts based on email address

Note : this has been answered before but that's from 2013 and things might have changed. 注意之前已经回答过,但这是从2013年开始的,情况可能有所更改。 I don't have the rep to add a comment. 我没有代表要添加评论。

I'm building out a prototype with Meteor and noticed when I log in with Twitter and then Facebook (and then Google), three separate user accounts are created. 我正在用Meteor构建一个原型,并注意到当我使用Twitter,然后是Facebook(然后是Google)登录时,创建了三个单独的用户帐户。 Is there any built in way to make sure these are merged? 是否有任何内置方式来确保将它们合并? I'm not seeing any email address in the twitter based user account, so I can see it might be difficult to figure out which accounts to link. 我在基于Twitter的用户帐户中没有看到任何电子邮件地址,因此我可能很难确定要链接的帐户。

I have looked in the Meteor issue queue and found PR#270 but that's the same solution as proposed in the old answer above. 我查看了Meteor问题队列 ,发现PR#270,但这与上面的旧答案中提出的解决方案相同。

I just want to make sure I haven't missed an option in the documentation. 我只是想确保我没有错过文档中的一个选项。

Found one solution from: Practical ways of dealing with duplicate accounts using OAUTH in Meteor? 从以下位置找到一种解决方案: 在Meteor中使用OAUTH处理重复帐户的实用方法?

It is to use the accounts-meld package. 它使用帐户合并包。 I'm yet to use or test it. 我尚未使用或测试。 This is not ideal however, I'd like to see a core config kind of a solution if one exists. 但是,这并不理想,我希望看到一种核心配置的解决方案(如果存在)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM