Authenticate with Snap Login Kit
Made by Snap Inc.
Signs in using Snapchat as the identity provider.
此扩展程序的运作方式
Use this extension to allow your community of users to authenticate with Firebase using their Snapchat accounts. Snapchat has a massive reach, with millions of people using the app daily. Logging in via Snapchat allows you to tap into this audience, providing a quick and easy way for your users to sign up, log in, and avoid any obstacles.
Recommended Usage
This extension is meant to allow users to authenticate with Firebase using Snapchat as the identity provider. If you do not intend to use Firebase authentication, but still want to use Snapchat as an identity provider, please use Snap Kit’s Login Kit .
Additional setup
To get started, there are a few steps you will need to follow in order to set up, install, and integrate with this extension. This process is described in detail on our website. Please see Snap Kit iOS Login Kit Firebase Extension Setup or Snap Kit Android Login Kit Firebase Extension Setup for more information.
Billing
This extension uses other Firebase or Google Cloud Platform services which may have associated charges:
- Cloud Functions
- Firebase Authentication
- Secret Manager
This extension also uses the following third-party services:
- Snap Login Kit ( pricing information )
You are responsible for any costs associated with your use of these services.
如何安装此扩展程序
使用 Firebase CLI
要安装和管理扩展程序,您还可以使用 Firebase CLI:
步骤 1 :运行以下 npm 命令来安装 CLI 或将 CLI 更新到最新版本。
npm install -g firebase-tools不能运行?请参阅 Firebase CLI 参考文档 或者更改您的 npm 权限 。
第 2 步 : 设置一个新的 Firebase 项目目录 或转到现有目录
第 3 步 :将此扩展程序添加到 扩展程序清单 中
firebase ext:install snap/snapchat-login --local --project=projectId_or_alias
第 4 步(可选) :使用 Firebase Emulator Suite 在本地测试此扩展程序
firebase emulators:start
第 5 步 :将清单中的扩展程序 部署 到项目中
firebase deploy --only extensions --project=projectId_or_alias