Bearer Token auto renewal for Retool

I have setup Auth0 in Retool for REST API GET requests.
Using Bearer token which is working fine however currently the token expires and im having to replace it manually in Retool by generating new one from Auth0.

I have seen some docs and tried implementing but cant work it out.

Hi @H.Mir,

Welcome to the Auth0 Community and sorry for the late reply.

If you are using the client credentials flow with a M2M application, then this process should be automated if the token is requested properly from a secured space, that also contains a secret. I will recommend checking out this community post that goes over the aspects of it.

Otherwise using Refresh Tokens should be the way to go.

Hope this helps.
Thanks,
Remus