【问题标题】:How to make Google Authentication only available option in Meteor如何在 Meteor 中使 Google Authentication only 可用选项
【发布时间】:2016-05-16 18:27:36
【问题描述】:

我正在 Meteor 中创建一个应用程序,并添加了一些包以允许我的用户登录。

$ meteor add accounts-password accounts-ui accounts-google

然后我将 {{> loginButtons}} 放在正确的位置并配置 Google API,以便一切正常。

但现在用户可以同时做到这两点:通过 Google 登录并在我的应用程序中创建一个新帐户。如何关闭第二个功能?换句话说,我想让通过 google 进行身份验证成为唯一可用的登录方式。

【问题讨论】:

    标签: javascript authentication meteor meteor-accounts


    【解决方案1】:

    您是否尝试删除帐户密码?

    meteor remove accounts-password
    

    【讨论】:

      猜你喜欢
      • 2011-02-23
      • 1970-01-01
      • 1970-01-01
      • 2016-06-21
      • 1970-01-01
      • 1970-01-01
      • 2016-05-14
      • 1970-01-01
      • 2021-09-28
      相关资源
      最近更新 更多