Rotate/refresh JWE tokens

Is it possible to rotate (refresh) an existing token? My flow usually goes like this:
1. issue jwt (relatively short expiration e.g. a day)
2. use refresh token to renew this jwt as it approaches its expiration date


This way user doesn't have to log in again once the token expires and it still allows for short lived JWTs to be issued. I'm not 100% confident how to achieve this in Xano, or if there is some other way instead of issuing long-lived JWTs.
Working with APIs
5 replies