【问题标题】:Twitter third party app not retrieving emailTwitter第三方应用程序无法检索电子邮件
【发布时间】:2015-06-11 16:07:43
【问题描述】:

我正在使用环回和通行证通过 twitter 登录应用程序。问题是当我登录时,我从我的 twitter 个人资料数据中收到的电子邮件是这样的:

username@loopback.twitter.com

这显然不是我的实际电子邮件地址。

我有隐藏电子邮件地址的 Twitter 应用程序吗?我找不到这方面的任何文档。

【问题讨论】:

    标签: email twitter passport.js loopbackjs


    【解决方案1】:

    如果您链接您的帐户,我认为它会解决。

    其实是由code line引起的

    var email = profile.emails && profile.emails[0] && profile.emails[0].value;
    if (!email) {
      // Fake an e-mail
      email = (profile.username || profile.id) + '@loopback.' +
              (profile.provider || provider) + '.com';
    }
    

    您可以从Login and account linking获取更多信息

    【讨论】:

      猜你喜欢
      • 2018-08-25
      • 2010-10-29
      • 1970-01-01
      • 2018-12-27
      • 1970-01-01
      • 2014-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多