Let's say after successfully log in we are passing user short-lived access token (15 minutes) and long-lived refresh token (7 days).
On day 7 user is in the middle of some business logic in our app and his refresh token expires. So if refresh token expires he will be logged out during making some business in our app.
So how to avoid that situation? Should we renew somehow refresh tokens?