How to get new token after 3 days expiration?

How to get new token after 3 days expiration?

In my case, I use Redis to store my token with an expiry timestamp.

When the token cannot be found in the Redis, it has expired.
Then I will request a new token again, then store it into Redis;
Otherwise, I will get it from the Redis.