DEV Community


Discussion on: Python Chat Tutorial with Django and React

isaidspaghetti profile image
Taylor Graham

I had the same issue and this was the solution. The 'id' value from client.setUser must match the argument for client.createToken

const streamToken = client.createToken('exactNameHere');

await client.setUser(
id: 'exactNameHere'

Forem Open with the Forem app