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

时间:2021-12-16 16:24:48

Note: this has been answered before but that's from 2013 and things might have changed. I don't have the rep to add a comment.

注意:这已经得到了回答,但是从2013年开始,事情可能已经发生了变化。我没有代表添加评论。

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. 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.

我正在使用Meteor构建原型,注意到当我使用Twitter和Facebook(以及Google)登录时,会创建三个单独的用户帐户。有没有内置的方法来确保这些合并?我没有在基于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.

我只是想确保我没有错过文档中的选项。

1 个解决方案

#1


0  

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.

它是使用accounts-meld包。我还没有使用或测试它。然而,这并不理想,我希望看到核心配置类型的解决方案(如果存在)。

#1


0  

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.

它是使用accounts-meld包。我还没有使用或测试它。然而,这并不理想,我希望看到核心配置类型的解决方案(如果存在)。