You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I´ve tried the samples but was not able to login via OAuth. I didn´t provide a token in the secure.json file as it is optional but nevertheless the SDK isn´t retrieving a token from the backend.
I also cannot find any OAuth Client Credentials Support in the coding of the SDK.
Regards,
Andy
The text was updated successfully, but these errors were encountered:
importBynderfrom"@bynder/bynder-js-sdk";constbynder=newBynder({baseURL: "...",clientId: "...",clientSecret: "...",// redirectUri must be undefined});if(!bynder.api.token)awaitbynder.getToken();// or to specify scope: bynder.getToken(undefined, "offline asset:read")// test requestconstresult=awaitbynder.getMediaList({type: "image",limit: 9,page: 1})console.log(result)
Hi,
I´ve tried the samples but was not able to login via OAuth. I didn´t provide a token in the secure.json file as it is optional but nevertheless the SDK isn´t retrieving a token from the backend.
I also cannot find any OAuth Client Credentials Support in the coding of the SDK.
Regards,
Andy
The text was updated successfully, but these errors were encountered: