Refresh Auth Trigger

Hi,
I have built a Custom Auth authentication resource in Retool for Xero.
As a part of my Refresh auth workflow I have an API request where I am posting the refresh tokens to an AWS API Gateway

I am noticing that this refresh only occurs whilst a user is logged in.
However I have set up the Refresh auth trigger to be on a time-based expiration.

Is this intentional that the refresh auth workflow only works when a user is logged in? I am hoping to have access to up to date tokens from the Gateway.
Any suggestions as to how I can leverage Retools Custom Auth but still get up to date tokens whilst the user is away?

Thanks,
Jeremy

Hi @jeremy123,
Yes, sorry, but this is intentional behavior in Retool and is standard behavior for how custom auth workflows are designed to function. Once a user logs out, they will need to re-authorize when they log back in.
There is no way to have your refresh auth workflow run while the user is logged out.