article
Login loop fixed twice in the wrong layer
The new sliding-session renewal re-signed a decoded token, the signer threw, and the guard turned that into a 401 for good tokens. I patched the middleware's refresh loop twice before moving renewal out of the way of login.
Read more 4m read