【问题标题】:Firebase | Retrieve hd parameter from Google oAuth火力基地 |从 Google oAuth 中检索 hd 参数
【发布时间】:2017-12-18 16:35:35
【问题描述】:

我在post 看到了如何设置 hd 参数。我只是想在 Firebase 的 user().onCreate() 函数上检查该参数。但是, hd 参数似乎不是用户对象或令牌参数的一部分。据我了解,如果用户来自 gsuite 域,Google oAuth 应该包含 hd 参数。有没有人成功做到这一点?

谢谢, 肖恩

【问题讨论】:

    标签: firebase oauth-2.0 firebase-authentication google-oauth google-cloud-functions


    【解决方案1】:

    我认为这是不可能的。 hd 旨在帮助从可用于登录的用户列表中选择最佳选项。

    【讨论】:

      猜你喜欢
      • 2021-12-18
      • 2021-02-03
      • 1970-01-01
      • 1970-01-01
      • 2016-09-17
      • 1970-01-01
      • 2017-09-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多