This episode continues exploring our token-based authentication and the token expiration problem in particular. To solve it, we switch to AnyCable JS client, which provides a token refreshing mechanism out-of-the-box.
The migration process involves some JavaScript debugging and re-implementing @hotwired/turbo-rails functionality.
Links: