GetStream / flutter-samples

A collection of sample apps that use Stream
https://getstream.io/chat/docs/flutter-dart/
MIT License
301 stars 126 forks source link

Can't connect with server GetStream by my API Key #70

Closed duy1998 closed 2 years ago

duy1998 commented 2 years ago

I received the message. Unhandled Exception: WebSocketError(message: JWTAuth error: signature is not valid. Make sure the token is created using the secret for API key "bwkw956c3c4s", data: ErrorResponse(code: 43, message: JWTAuth error: signature is not valid. Make sure the token is created using the secret for API key "bwkw956c3c4s", statusCode: 401, moreInfo: ))

Anyone can help me ?

imtoori commented 2 years ago

Apparently, the JWT was not created correctly Please take a look at this and this. I'll close this one, feel free to reopen it if needed

duy1998 commented 2 years ago

I got it. Thank you