Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

Authenticate with Stream Chat

Stream
Made by Stream

Synchronizes Firebase Authentication users with Stream, and creates and revoke Stream Chat authentication tokens.

Cómo funciona esta extensión

With this extension, you can use Firebase Authentication to handle Stream Chat user authentication.

By using Firebase Authentication, you can use any of the following Firebase Authentication SDK sign-in methods with Stream Chat:

  • Email and password-based authentication
  • Federated identity provider integrations (Google, Apple, Facebook, Twitter, GitHub)
  • Phone number authentication
  • Custom auth system integrations
  • Anonymous auth

Additional Setup

Before installing this extension, set up Firebase Authentication in your Firebase project. You must also set up a Stream Chat app before installing this extension—you can do so on the Stream site.

Billing

This extension uses the following Firebase services, which may have associated charges:

  • Cloud Functions
  • Secret Manager
  • Firebase Authentication

This extension also uses the following third-party services:

You are responsible for any costs associated with your use of these services.

Note from Firebase

Your Firebase project must be on the Blaze (pay-as-you-go) plan to install the extension. You will only be charged for the resources you use. Most Firebase services offer a no-cost tier for low-volume use. Learn more about Firebase billing.

When installing or reconfiguring this extension, you will be billed a small amount (typically less than $0.10). See Cloud Functions under Firebase Pricing for a detailed explanation.

Cómo instalar esta extensión

Usa Firebase console

Puedes usar Firebase console para instalar y administrar las extensiones.

Instala con console

Usa Firebase CLI

También puedes usar Firebase CLI para instalar y administrar las extensiones.

Paso 1: Ejecuta el siguiente comando npm para instalar la CLI o actualizarla a la versión más reciente.

npm install -g firebase-tools
¿No funciona? Consulta la referencia de Firebase CLI o cambia tus permisos de npm.

Paso 2: Configura un nuevo directorio de proyecto de Firebase o navega a uno existente

Paso 3: Agrega esta extensión al manifiesto de tu extensión ejecutando

firebase ext:install stream/auth-chat --local --project=projectId_or_alias

Paso 4 (opcional): Prueba la extensión localmente con Firebase Emulator Suite

firebase emulators:start

Paso 5: Implementa las extensiones en el manifiesto de tu proyecto

firebase deploy --only extensions --project=projectId_or_alias
Autor
Licencia
Apache-2.0
Versión
0.1.2