Comments (5)
Hi @emadicio,
From the release/tag 2.0.0 forwards of the SDK OAuth 1.0a support was removed, this new release only supports OAuth 2.0.
This is due to the fact that in the long term we do want to deprecate OAuth 1.0a in Bynder and only use OAuth 2.0. At the moment we don't have an official plan or timeline for the deprecation, which might still take a while.
In the meantime to still make use of OAuth 1.0a and permanent tokens, you will need to use one of the previous releases/tags.
Regarding permanent tokens for our OAuth 2.0 service we just finished implementing it. And at the moment we are adding this functionality to all our SDKs, what should be finished some time during next week.
from bynder-js-sdk.
Hi @danielsequeira,
Any update on the permanent token authentication with OAuth 2.0? We are moving to 2.0 at the moment and have not been able to make the authentication work.
Any help would be highly appreciated.
Regards,
Leo
from bynder-js-sdk.
It should work using this method as indicated in readme :
Using a permanent token
const bynder = new Bynder({
baseURL: "https//portal.getbynder.com/api/",
permanentToken: "",
});
from bynder-js-sdk.
@rcuisnier I've tried using the permanent token as described by the readme here but it's not working for me for calls like getAssetUsage
.
I think I found the potential bug here:
bynder-js-sdk/src/bynder-js-sdk.js
Lines 531 to 538 in 713143d
getAssetUsage
does not use this.api
and instead creates a new APICall
instance where the permanent token is not passed in.
from bynder-js-sdk.
Fixed in v2.3.9
from bynder-js-sdk.
Related Issues (19)
- TypeError: joinUrl is not a function
- Overwrite media or add a new version? HOT 1
- Release new version on npm repository HOT 1
- Missing OAuth Client Credentials HOT 1
- Page scroll block breaks Bynder scroll HOT 1
- bynder-js-sdk node upgrade HOT 1
- Run tests and linter in CI HOT 1
- dist directory missing with 1.1.0 release HOT 4
- Upload stream HOT 9
- Upgrade to axios 0.19.0 HOT 2
- Typescript support HOT 2
- Return Chunk Upload and Number of Chunk HOT 2
- Stalling asset uploads HOT 1
- uploadFile seems to be too slow HOT 5
- v2.3.0 is not marked as latest release HOT 1
- Metaproperties seem not to be transmitted when uploading an asset.
- API calls fail when payload contains values with ampersands in them HOT 3
- Permanent tokens doesn't seem to work. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bynder-js-sdk.