Skip to content
Discussion options

You must be logged in to vote

As you can read in the website documentation you usually should send this token from your backend to the client-side when a user registers or logs in.

You can use a TokenProvider to let the StreamChatClient refresh the token automatically once it expires

For quick development, it is also possible to disable token authentication and use client-side generated tokens using StreamChatClient.devToken(userId)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@abraraltaf92
Comment options

@itsarvinddev
Comment options

Answer selected by xsahil03x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #383 on April 03, 2021 11:51.