I am trying to connect Bling ERP API v3 to Make using the HTTP OAuth 2.0 module with the Authorization Code flow.
The Bling authorization screen opens correctly and displays the selected read-only permissions. However, after I authorize the application, Make returns the following error:
invalid_client — Client credentials are invalid
Bling requires HTTP Basic authentication using the Client ID and Client Secret when exchanging and refreshing tokens.
My questions are:
Does Make’s HTTP OAuth 2.0 connection support HTTP Basic authentication for token requests?
Can I configure custom headers for both token generation and refresh?
What is the recommended configuration for connecting Bling API v3 securely?
I would appreciate step-by-step instructions, as I am new to Make.
invalid_client here almost always means Bling wants the Client ID and Secret in a Basic Authorization header, while the OAuth module sends them in the request body. A dependable workaround is to skip the built-in OAuth connection: get the authorization code once in the browser, then use a plain HTTP “Make a request” module to POST to Bling’s token endpoint.
Set the header Authorization: Basic base64(clientId:clientSecret) and send grant_type=authorization_code plus the code as form fields. Store the access and refresh tokens in a Data Store, and add a small scenario that does the same POST with grant_type=refresh_token before they expire. Also check that the redirect URI registered in Bling exactly matches the one you use.
Open the connection’s advanced settings and look for the option that controls how client credentials are sent on the token request, and try the Basic header version. If it doesn’t offer that, do the token exchange and refresh yourself with the HTTP module, using an Authorization header of Basic plus the base64 of ID:secret, and store the refresh token in a data store.