I am attempting to integrate SharePoint with our company so customers can view their documents and files. Upon integration, we found that the refresh token expires at 6 months and client secret expires after 1 year. So far we haven't found a way to automatically refresh the token/secret without user intervention before expiration.
I noticed in Add-ins the company can automatically refresh tokens, does this exist for integrations as well?
This is the case where we allow a customer to view SharePoint files (via external link) from our platform so they can use files throughout our tools.