Join us in person and online for Firebase Summit on October 18, 2022. Learn how Firebase can help you accelerate app development, release your app with confidence, and scale with ease. Register now
Stay organized with collections Save and categorize content based on your preferences.

Authenticate with Stream Chat

Stream
Made by Stream

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

How this extension works

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 free 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.

How to install this extension

Using the Firebase console

To install and manage extensions, you can use the Firebase console.

Install using console

Using the Firebase CLI

To install and manage extensions, you can also use the Firebase CLI:

Step 1: Run the following npm command to install the CLI or update to the latest CLI version.

npm install -g firebase-tools
Doesn't work? Take a look at the Firebase CLI reference or change your npm permissions.

Step 2: Set up a new Firebase project directory or navigate to an existing one

Step 3: Add this extension to your extension manifest by running

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

Step 4 (Optional): Test this extension locally with the Firebase Emulator Suite

firebase emulators:start

Step 5: Deploy the extensions in your manifest to your project

firebase deploy --only extensions --project=projectId_or_alias
Author
License
Apache-2.0
Version
0.2.0