JWT Expiration #227
Unanswered
mu4farooqi
asked this question in
Q&A
Replies: 1 comment
-
That's a good question. Currently, we assume that once authenticated the client stays so for the whole lifetime. That fits most of the use cases (since its similar to other authentication methods, e.g., cookies, custom tokens, etc.). We have a feature (opt-in) in the backlog to automatically disconnect clients with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Once ws connection is established, how to deal with JWT refreshes? For example when we establish ws connection with anycable-go, it makes an RPC call to anycable-rails to validate JWT. Now what if JWT expires after a minute? Shouldn't we check expiry of JWT on each message instead of only just in the connection phase?
Beta Was this translation helpful? Give feedback.
All reactions