How Do I Generate Stream Chat Tokens with Appwrite?
- 0
- Databases
- Android
- Messaging
- Realtime
- Functions

I am trying to create a chat system in my app using stream chat. I have a basic chatroom made, but now I am stuck on how to generate tokens for users. Following the stream-chat documentation (https://getstream.io/chat/docs/react/tokens_and_authentication/), it seems that I have to add some code to my backend service (appwrite), but I am not sure how or what code I should even provide. I believe creating a function is the way to do it, but I am not sure how to properly set that up as well.
For further context, I am following this video tutorial to set up the messaging/chat system within my app: https://www.youtube.com/live/UxSdy3oOnIw?si=89YvS30ZILtlU4lF
Any help is greatly appreciated!
Recommended threads
- Need help on Flutter OAuth2
Am trying to use Appwrite OAuth (google, apple and facebook), am been on it for sometimes now which have tried many things but still not able to make it work: ...
- How to detect user disconnection?
I'm creating a 1v1 challenge using realtime and i want to trigger a function when the user disconnect... how to make this using Appwrite Realtime? i searched i...
- How do I do this. Please help!
Hey guys! Okay AI can't help so I'm asking real people now. 😓 Anyway I wanted to know how one solve this in Appwrite right now. So I have a form where I wante...
