Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: remove client side check of jwt token #451

Merged
merged 5 commits into from
Feb 7, 2025

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants