Would like to connect to API using client_credentials grant type.
Is 'client_credentials' grant type supported for LogicApp / flow connector?
Connector builder converts this to "flow": "accessCode" which will make it
grant_type=authorization_code
security defn in swagger file is as follows.
"securityDefinitions": { "oauth2_auth": { "flow": "application", "scopes": { "file.*": "file.*", "integration.*": "integration.*" }, "tokenUrl": "https://example.com/token", "type": "oauth2" } },
Hi @msj , I am wondering if you have found any solution to this?
I am trying to consume an on-premise API using "On Premise data Gateway" and "Custom Logic App Connector" but it seems it does not support client_credentials grant type
I tried below approach too but failed:
Approach: Get Oauth Token separately by calling the onPremise token URL and then make actual API call with token in Authorization header.
Approach result: "Custom Logic App connector" does not allow to define "Authorization" key in header
Maybe you can find the answer from these documents:
https://docs.microsoft.com/en-us/connectors/custom-connectors/
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2