This repository was archived by the owner on Oct 18, 2023. It is now read-only.
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
JWT expiration issue? #318
Open
Description
Dan Kochetov of Drizzle team reports that:
Something weird happens now. Using the non-expiry token randomly returns the "Client is closed" error, but when I restart the server it works fine again. Maybe related to the fact that I've generated a 2nd non-expiry token and try to use the new one when the old one fails, which always seem to work, and after that the old one starts to work as well.
Let's look into how multiple JWT tokens might cause this to happen.