onedrop/assetsource-box

Neos asset source box.com

Installs: 25

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:neos-package

1.0.0 2019-02-28 15:43 UTC

This package is auto-updated.

Last update: 2024-03-29 03:51:21 UTC


README

Register an OAuth2 client application in the box.com developer portal.

Specify this as redirect uri:

https://mysite.com/neos/assetsource/box/authenticate/receivetoken

Or if you develop locally, you can use a dev token which is 60 minutes valid and doesn't require a valid OAuth2 redirect.

Fill in the credentials you just gained like this:

Neos:
  Media:
    assetSources:
      box_com:
        assetSource: 'Onedrop\AssetSource\Box\AssetSource\BoxAssetSource'
        assetSourceOptions:
          label: Box.com
          folder: folder id
          authenticationUrl: https://api.box.com/oauth2/token
          clientId: the client id
          clientSecret: the client seecret
          enterpriseID: 0
          devToken: dev token
          useDevToken: false