I am utilizing jwt-auth and vue-auth for my SPA. For testing purposes, I have the refreshData variable in the config file for vue-auth set to 1 for refreshing every minute. For the jwt-auth config file, I have the ttl set to 1 and the refresh_ttl set to 3.
I am able to login and receive a token. I see it in the localStorage. Every minute for the first 3 minutes, I get a success for the refresh, and I see the token changing in localStorage, but the 4th time, I get an error.
{message: "Token has expired and can no longer be refreshed",…}
exception: "Tymon\JWTAuth\Exceptions\TokenExpiredException"
Why is this? Since I am refreshing the token, I thought that the refresh_ttl wouldn't even matter, but it certainly seems to be dictating this.