跳过内容

Firebase Google 登录 - 通用设置

GitHub

本指南将指导您如何使用 Capacitor 社交登录插件将 Google Sign-In 与 Firebase Authentication 集成。该设置允许您在移动平台上使用本机 Google Sign-In,同时利用 Firebase Auth 进行后端身份验证。

  1. 请前往 __CAPGO_KEEP_0__
  2. 选择您要使用的项目 Firebase 项目选择器
  3. 前往 Authentication 菜单
    1. 点击 build
    2. 点击 Authentication
    Firebase 身份验证菜单
  4. 点击 Get started 按钮 Firebase 开始使用按钮
  5. 选择任意一个 Email/PasswordGoogleGoogle Firebase 选择电子邮件/密码和 Google 按钮 Firebase 启用电子邮件身份验证 Firebase 保存启用 Google 身份验证 Firebase Firebase
  6. Enable the Google provider Firebase
  7. 添加 Google Firebase 添加支持
  8. Firebase Public-facing name for project. 更改 Firebase 公开面向名称
  9. 点击 Save 按钮 Firebase 保存公众面向名称

Voilà,您现在已经启用了 Firebase 身份验证中的 Google Sign-In 🎉

继续从 Firebase Google 登录 - 通用设置

标题:继续从 Firebase Google 登录 - 通用设置

如果您正在使用 Firebase Google 登录 - 通用设置 来规划身份验证和帐户流程,连接它到 使用 @capgo/capacitor-social-login 为在使用 @capgo/capacitor-social-login 中的原生能力 @capgo/capacitor-social-login 为capgo/capacitor-social-login的实现细节 @capgo/capacitor-passkey 为capgo/capacitor-passkey的实现细节 @capgo/capacitor-native-biometric 为capgo/capacitor-native-biometric的实现细节, 双因素认证 为双因素认证的实现细节