Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@filipecabaco
Copy link
Member

@filipecabaco filipecabaco commented Jan 21, 2025

What kind of change does this PR introduce?

  • remove client side check of jwt token
  • await on setAuth in heartbeat
  • send lib version on setAuth
  • only send token on setAuth if token has changed

@filipecabaco filipecabaco force-pushed the fix/remove-jwt-check branch 5 times, most recently from 8dfef08 to c4f13ee Compare February 6, 2025 16:55
@filipecabaco filipecabaco merged commit e58fc94 into master Feb 7, 2025
3 checks passed
@filipecabaco filipecabaco deleted the fix/remove-jwt-check branch February 7, 2025 10:52
tokenToSend &&
channel.updateJoinPayload({
access_token: tokenToSend,
version: VERSION,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@filipecabaco instead of sending version, would it be better to send the x-client-info? To differentiate which client is being used?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants