The CURL Request would look like this (and it works perfectly on Postman
curl -XPOST {base_url}/v3/partners/oauth2/token \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-F
-F "grant_type=client_credentials" \
-F
-F "client_id=daxko_api_user" \
-F
-F "client_secret=d9a2652cf96d734661c10d5ff2f8061f" \
-F
-F "scope=client:9999"
I've hit a block on Step 1.
As an aside: I've used Postman obtain the Access_token... manually inserted that into kamermans solution and am able to retrieve data.
I've gotten the closest with Kamermans /Guzzle-oath2-subscriber. However, it does not contain the first part of the connection process (e.g., getting the access token using the refresh token- and that deficiency is documented as an issue
https://github.com/kamermans/guzzle-oauth2-subscriberI've also looked league/oauth2 . But there isn't a shred of documentation for grant_type = ClientCredentials
Any pointers would be deeply appreciated!