Skip to content

Commit

Permalink
fix: Improve error message on invalid JWT (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco authored Nov 27, 2024
1 parent 2b4051f commit 9c8a5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RealtimeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export default class RealtimeClient {
if (!valid) {
this.log(
'auth',
`provided token has expired, not sending it to realtime`
`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${parsed.exp}`
)
return
}
Expand Down

0 comments on commit 9c8a5d3

Please sign in to comment.