JWT tokens keep getting blacklisted even with blacklist turned off
Recently I've noticed that I keep getting blacklisted tokens, and I'm not sure why.
My project holds a JWT token and is valid for a period of time, then, when the user tries to navigate to a route, I call a refresh endpoint which returns the result from auth()->refresh() and for some reason it refreshes the token just fine and gives a 200 response, but then tries again 6 more times and results in a blacklisted token.
I've tried turning the blacklist feature off through .env and directly in the JWT auth file and have set the grace period ridiculously high as well, but still tokens are getting blacklisted
How do I turn this feature off!
This is an issue in configuration, I solved this in a PR but it stills opened, my solution was to migrate the package.
https://github.com/PHP-Open-Source-Saver/jwt-auth
Give it a try.