firebase - 我可以将经过 google 身份验证的用户添加到 firebase 中的用户列表吗?

标签 firebase xamarin xamarin.forms firebase-authentication

我正在 Xamarin 中创建一个应用程序,使用 firebase 进行登录,我希望用户使用电子邮件或谷歌注册。如果我通过电子邮件注册他们,他们就会被添加到这个用户列表中:

firebase users list

但是当我通过谷歌对他们进行身份验证时,就不会被添加到这个列表中。有没有办法启用它? 我想稍后使用此列表中的 uid 来存储每个用户的数据,这就是为什么我希望它们都在 1 个列表中。

最佳答案

当用户使用 Google 登录,然后使用他们的 Google 凭据登录 Firebase 时,他们的个人资料显示在 Firebase 控制台中,并带有彩色 G 图标。

例如,这是我的一个项目中一些用户的列表:

enter image description here

第一个用户是电子邮件+密码用户,然后是 3 个匿名用户,然后是一个使用其 Google 帐户登录的用户。

如果 Google 用户没有出现,请确保您也让他们登录了 Firebase。

关于firebase - 我可以将经过 google 身份验证的用户添加到 firebase 中的用户列表吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69605001/

相关文章:

javascript - 如何覆盖 Firebase 存储上的文件?

swift - xcode 崩溃已成功上传,但在 crashlytics 中不可见

android - 动态链接 - Firebase - 400 错误

Xamarin 表单时间选择器 24 小时

azure - 在 Xamarin.Forms 中使用 MSAL 获取 Azure B2C SignUpSignIn 应用程序声明

firebase - 在Firebase中的嵌套集合中查询文档值

listview - Xamarin Forms ListView - 异常?

c# - Xamarin 表单 : Help needed with layout on a ListView inside a StackLayout

android - Xamarin Forms 自定义字体不适用于 UWP(适用于 Android)

xamarin.ios - 更新后 Xamarin IOS 上的 Servicestack 程序集失败