【发布时间】:2017-02-16 15:02:20
【问题描述】:
在 angularfire 中,在 angularfire2 之前,您可以为 google auth 提供者设置自定义参数(例如托管域),如下所示:
var provider = new firebase.auth.GoogleAuthProvider();
provider.setCustomParameters({
hd: "example.com"
});
你如何在 angularfire2 中做同样的事情?
问候 阿迪萨
【问题讨论】:
-
有人吗?我要做的就是实现谷歌在这里描述的内容:developers.google.com/identity/protocols/OpenIDConnect#hd-param
标签: firebase firebase-authentication angularfire2