Comments (1)
This issue is still ongoing.
PR #68 seems to implement support for client credentials but it was merged to the development
branch, not master
and thus never got released.
Far from ideal but this can be patched temporarily by pointing the package to the github repo:
{
"dependencies": {
"@bynder/bynder-js-sdk": "github:Bynder/bynder-js-sdk#development",
"@bynder/compact-view": "^4.2.0",
}
}
Usage looks like this:
import Bynder from "@bynder/bynder-js-sdk";
const bynder = new Bynder({
baseURL: "...",
clientId: "...",
clientSecret: "...",
// redirectUri must be undefined
});
if (!bynder.api.token) await bynder.getToken();
// or to specify scope: bynder.getToken(undefined, "offline asset:read")
// test request
const result = await bynder.getMediaList({ type: "image", limit: 9, page: 1 })
console.log(result)
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
- 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
- OAuth2 permanent token not working HOT 5
- 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.