Laravel JWT scheme sends multiple refresh calls in quick succession and logs user out #1537
Unanswered
sts-ryan-holton
asked this question in
Support Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the latest version of v5 auth module in conjunction with the JWT auth package provided by tymondesigns.
I'm using the Laravel JWT scheme provided by this package to implement refresh tokens.
For some reason, after my token expires, it's suddenly decided to continuously log me out, and when the token tries to refresh I'm noticing a about 7 calls to my server's refresh endpoint within the space of a second, the first two succeed and the rest result in 500 errors.
Why would this package send multiple refresh calls in quick succession?
Anyone else got this issue or fix? My config is:
For context, my auth extend JS just simply adds some data to local storage.
I've also got the Laravel echo package and socket.io installed, which previously prior to this didn't seem to cause issues
The package shouldn't be sending 7-10 refresh calls though
Beta Was this translation helpful? Give feedback.
All reactions