在登录时将多个身份验证提供程序与Firebase链接在一起 [英] Linking multiple auth providers with Firebase on Login

查看:147
本文介绍了在登录时将多个身份验证提供程序与Firebase链接在一起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在用户登录到应用程序的时候链接多个授权提供者。 Firebase文档提供了一种链接新的身份验证提供程序与登录的方法,但我希望链接在登录/注册的时间,所以用户可以选择任何身份验证提供商没有任何麻烦手动链接它们。

对此有任何建议。请帮助。

解决方案

链接帐户要求用户使用这些帐户中的每一个进行身份验证。



通过登录帐户/提供者,用户证明他们拥有该提供者的帐户。没有要求用户登录到每个帐户的链接帐户没有办法。

I wish to link multiple auth providers on the time of user signin into the app . Firebase docs provides a method to link a new auth provider with logged in one but I wish to link on the time on login/signup so user can choose any auth provider without any hassles to link them manually .

Any suggestions on this . Please help.

解决方案

Linking accounts requires that the user authenticates with each of those accounts.

By signing in to an account/provider, the user proves they "own" that account at that provider. There is no way to link accounts without requiring the user to sign in to each account.

这篇关于在登录时将多个身份验证提供程序与Firebase链接在一起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆