Keeping track of auth token expiry

Hi there! We are currently integrating with a third party API provider and in order to do that it’s crucial that we renew their auth tokens before they expire (15 minutes from creation)

Is there a way we can keep track of when a user is using the app so that we can use that as the precondition to create a new token? Because otherwise we would have to create a token every 15 minutes everyday for each user, even if the users aren’t using the app and this is definitely not ideal.

Appreciate the help, let me know if you’d like me to clarify anything 🙂
Other
2 replies