I created a custom Hubspot APP (which is required for certain hubspot APIs). I then put in an HTTP module in n8n and created an oAuth2 connection to hubspot.
It works for about 30 minutes, at which point it gives a 400 error due to token not having been refreshed. If you go to the http module and edit the connection and click reconnect, it will work again, but only for another 30 minutes.
Anyone know the solution, or just in general what is the secret to getting n8n to refresh token on http module?