Skip to content

Need Example: Bynder Asset Upload with Client Credentials as grant type. #130

Open
@rogeliohh

Description

I imported the Java Bynder SDK into our ecosystem and I am implementing asset upload functionality to Bynder, using an AWS Lambda function that receives assets from an AWS S3 bucket, and we are using Client Credentials as grant type for Authentication against our Bynder OAuth App.

For now I am following the bynder example from the sdk package: https://github.com/Bynder/bynder-java-sdk/blob/master/src/main/java/com/bynder/sdk/sample/UploadSample.java But I am getting an error when the lambda code gets to Desktop desktop = Desktop.getDesktop(); and it looks like this error occurs because this approach is not compatible with a Lambda environment being a headless environment and also looks like this approach might not be using Client Credentials as grant type as authentication flow.
 
Could you please provide an example of how to implement asset upload with using the Client Credentials grant type as authentication flow?

Thank you in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions