Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix base64 decode #51

Closed
sacOO7 opened this issue Sep 24, 2024 · 0 comments · Fixed by #50
Closed

Fix base64 decode #51

sacOO7 opened this issue Sep 24, 2024 · 0 comments · Fixed by #50
Assignees

Comments

@sacOO7
Copy link
Collaborator

sacOO7 commented Sep 24, 2024

  • JWT issued by laravel-broadcaster is base64UrlEncoded ->
    public static function generateJwt($headers, $payload, $key)
    .
  • But while decoding, we use normal base64_decode method, this needs to be updated ->
    public static function parseJwt($jwt)
    .
  • This needs to be updated on both client (laravel-echo) and server(laravel-broadcaster) side.

┆Issue is synchronized with this Jira Task by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant