Bynder / bynder-java-sdk

SDK in Java for integration with Bynder
MIT License
4 stars 24 forks source link

Question: is there a way to authorize with just the client credentials? #113

Open gediminasmorkys opened 10 months ago

gediminasmorkys commented 10 months ago

Hi,

https://bynder.docs.apiary.io/#introduction/changelog/2023 there are plans to deprecate permanent tokens in favor of OAuth2. The most straightforward way to authenticate for machine-to-machine integrations seems to be the client credentials flow.

However, in the https://github.com/Bynder/bynder-java-sdk/blob/master/src/main/java/com/bynder/sdk/sample/AppSample.java I only see permanent token or authorization code flow examples.

Is there a way (with this library) to authorize with just the client credentials? https://bynder.docs.apiary.io/#reference/oauth-2.0/token-endpoint/using-client-credentials

jdickel commented 9 months ago

Hi all,

is there any information on when this is getting released? I just found another issue from like three years ago when somebody stated this is going to be released in the next version.

Will there be Client Credentials support soon?

I'd be willing to implement this if needed.

TimBloembergen commented 5 months ago

Hi @jdickel I'm terribly sorry for the late reply on this issue. There is indeed a stale branch of ours which has the implementation in there, however it would need to be seperated from the rest of the code changes.

We are currently focusing on other projects which needs to the teams full attention. This means we currently don't have the bandwith to implement this ourselves.

If you are still willing to implement this, feel free to do so. If you are going to, please also add tests.

We can review the code and deploy a new release if the code meets our standards.

artur-kovalchuk commented 4 months ago

@TimBloembergen, any news on Client Credentials Flow?