Open kristianandersendk opened 9 months ago
Hey @kristianandersendk sorry for the late response and thanks for the message!
We will create a ticket and look into it in the future, in the meanwhile, if you want you can also create a PR with the changes and submit it, we can code review and merge it :)
I have setup my oauth2 application in Bynder to authenticate using Client Credentials. I can authenticate using postman by calling the /token endpoint.
When connecting using the python sdk, it looks like the client credential flow is not implemented correctly. The OAuth2Session will default to a WebApplicationClient where a BackendApplicationClient would be needed for client credential authentication.
In my current workaround im fetching the token up front, but it would be nice if the sdk could handle oauth2 authentication using client credentials