Skip to content

Stream Chat + Firebase Authorization? Swift/SwiftUI, XCode, IOS #540

@lando1212-cpu

Description

@lando1212-cpu

I have downloaded the Firebase extension for integrating Stream Chat with Firebase Auth successfully. New users are being created in both Firebase Auth and my Stream Chat dashboard. However, I am facing an issue with the "connect user" function provided by Stream, as outlined in their tutorial. My main challenge lies in connecting a Firebase user upon signing up or logging in and passing their Firebase information to the function. My specific roadblock is in generating an automatic JWT token for this process. Unlike Stream's use of a hardcoded token for a single user like "luke-skywalker," I have multiple users. How can I efficiently generate and pass JWT tokens for each individual user in this scenario dynamically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions