Authenticate with Stream Chat
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
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.
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:
- Stream Chat ( pricing information )
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.
What you can configure
- Cloud Functions location
- API key for the Stream API
- API secret for the Stream API
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-toolsDoesn'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
Step 5: Deploy the extensions in your manifest to your project
firebase deploy --only extensions --project=projectId_or_alias