Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.72 KB

File metadata and controls

25 lines (13 loc) · 1.72 KB

See it in action

You can test out this extension right away!

  1. Go to your Authentication dashboard in the Firebase console.

  2. Click Add User to add a test user, then make note of the test user's UID.

  3. Go to the Stream Dashboard, select your app and navigate to the Chat Explorer. You should see a new user created with the correct UID noted earlier.

  4. Go back to your Authentication dashboard, then delete the test user.

  5. In a few seconds, the new user you added above will be deleted from Stream, and can be verified in the Chat Exporer.

Using the extension

When a user's account is created or deleted from your project's authenticated users, this extension automatically creates or deletes a corresponding user from Stream Chat.

You can created or delete a user directly in your Authentication dashboard or by using one of the Firebase Authentication SDKs. Learn more in the Authentication documentation.

You can also use the ${function:getStreamUserToken.name} Firebase Function to generate authentication tokens suitable for use with the Chat API or SDKs. These tokens can then be revoked using the ${function:revokeStreamUserToken.name} Firebase Function.

Monitoring

As a best practice, you can monitor the activity of your installed extension, including checks on its health, usage, and logs.