Hubspot currently only supports the Authorization Code Grant OAuth flow, which is suitable for requesting access token via clients like browsers.
Please add an ability to use the Client Credentials Grant OAuth flow so that secure clients (like a server synchronising data to hubspot) can request access tokens without the need for a url redirect unsuitable for server use-cases.
Exactly, The Authorization Code grant type is used by web browsers and mobile apps, but is usless for server side interactions. Please add support of Client Credentials - OAuth 2.0 Simplified
Two and a half years later it still looks like client credential flow isn’t available. You say we can’t use a Private App if we’re using webhooks, but how are we supposed to use webhooks with Public Apps, if servers can’t communicate with one another? How can you afford to disable API keys (?hapi_key) at the end of this month?
Almost four years passed on, but still not enabled the client credential flow.
How is it possible to do server-to-server communication with authorization code flow? We can’t use Private Apps, because we are using workflows. So, only viable option is OAuth, but here it is a server-to-server authentication required.
What is the solution Hubspot provides us like who has to work with Workflows?