是否可以选择使用Firebase实施亚马逊帐户关联, 我们知道我们可以使用Firebase身份验证提供程序实现Google,Facebook和Twitter的帐户链接.
Is there any option to implement amazon account linking using firebase, We know we can implement account linking for google, facebook and twitter using firebase auth provider.
我正在使用Firebase身份验证实现Google,Twitter,Facebook的帐户链接.下面的代码显示
I am implementing account linking for google, twitter, facebook using firebase auth. The below code shows
firebase.auth.GoogleAuthProvider() firebase.auth.FacebookAuthProvider() firebase.auth.TwitterAuthProvider()那我得到的结果就是使用
then i am getting result using
firebase.auth().signInWithRedirect(provider) firebase.auth().getRedirectResult()我想使用亚马逊登录页面链接帐户.有什么办法吗?或者提供任何建议以显示亚马逊登录页面,然后用户输入电子邮件和密码,我想获取用户数据
I want to link account using amazon login page.Is there any way to do it or please provide any suggestion to show amazon login page then user enter email and password i want to get user data
推荐答案Firebase身份验证没有用于Amazon登录的内置提供程序.这意味着,要允许使用Amazon帐户登录Firebase,您必须创建一个自定义提供程序.
Firebase Authentication has no built-in provider for Amazon sign-in. That means that, to allow signing in to Firebase with Amazon accounts, you'll have to create a custom provider.
当前不支持将自定义提供程序帐户链接到现有帐户(从内置提供程序中).但是,如果您查看此Github线程,则有一些不错的信息如何通过使用自定义声明或其他机制来实现相同目标.
Linking custom provider accounts into existing accounts (from built-in providers) is not currently supported. But if you look at this Github thread, there's some good info on how to accomplish the same by using custom claims or another mechanism.
更多推荐
使用Firebase身份验证链接Amazon帐户
发布评论