We have configured a Boomi HTTPClient Connector to connect to Sharepoint O365 with the help of: https://www.advaiya.com/blog/access-sharepoint-rest-api-using-oauth/
However, it works only when a new token is generated, but not after it expires. I saw the same problem occurs for SalesForce and Google, but have found no solution for SharePoint O365.
How can we automate the token refresh?
(See attached picture for current setting)