How to perform OAuth Client Credentials Flow

UPDATE

The OAuth client credentials flow is now natively supported in the "Web location" parameter.