I have this exact same set up! the thing is, how do i make it so it automatically refreshes the otken before it expires after 1 hour? wihtout the user being active in the site? cause my users create rules that trigger at another moment, probably after their tokens had epxired, but without being present in the site, it won’t refresh.

i had like if current time > -5 minutes token expiry, trigger that api call to refresh it. but that need the user to actually be in the site

thanks in advance