是否可以使用其他提供程序进行Firebase身份验证? [英] Is it possible to use additional providers for firebase authentication?

查看:48
本文介绍了是否可以使用其他提供程序进行Firebase身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了现有的提供程序之外,是否可以使用其他提供程序进行 firebase 身份验证?我正在使用 Flutter .任何详细的解释将不胜感激.

Apart from the existing providers, is it possible to use an additional provider for firebase authentication? I am using Flutter. Any detail explanation will be highly appreciated.

推荐答案

您确实可以

You can indeed create a custom provider for Firebase Authentication. The process on Flutter is mostly the same as on other platforms:

  1. 您在自定义后端或提供程序中对用户签名,并从中获取凭据.此步骤与Firebase毫无关系.
  2. 您将凭据传递到您创建并托管的自定义受信任端点,您控制的服务器上或Cloud Functions上.
  3. 在此自定义后端中,您检查凭据,然后使用Firebase Admin SDK来使用自定义令牌登录Firebase .

这篇关于是否可以使用其他提供程序进行Firebase身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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