使用Firebase身份验证链接Amazon帐户

编程入门 行业动态 更新时间:2024-10-06 22:22:13
本文介绍了使用Firebase身份验证链接Amazon帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以选择使用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帐户

本文发布于:2023-11-28 04:30:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640968.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:身份验证   帐户   链接   Firebase   Amazon

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!