Building an entitlement service | Community
Skip to main content
June 23, 2015
Solved

Building an entitlement service

  • June 23, 2015
  • 7 replies
  • 2313 views

Hello,

We're inspecting the Adobe Publish services SDK v0.1 a php server of Direct Entitlement API, and I'm trying to invoke the pages store_product_list.php and fulfillment_url.php, I know that I need configure some values in the publishSDK/configuration/credentials.php they are: client_id, client_secret, client_version, device_token and device_id. We are under the Guid 151987042e8e4f93b078cecc84a17d3b and our user is webmasters@edglobo.com.br. Could you tell us either how can we fill these values or if there is any useful documentation about that.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ktukker

Hi,

Please contact me (ktukker at Adobe) to get an API key for the Adobe Digital Publishing Solution - Content Services SDK. the client_id and client_secret are part of this API key.

After you have received the API key, you can generated the device_token and device_id through: https://aex.publish.adobe.com/index.html#/

client_version you can define yourself. For example: edoglobo_0.1

-Klaasjan

7 replies

Neil_Enns_-_Ado
Adobe Employee
Adobe Employee
June 23, 2015

Branched to a new discussion.

Neil

ktukkerAdobe EmployeeAccepted solution
Adobe Employee
June 23, 2015

Hi,

Please contact me (ktukker at Adobe) to get an API key for the Adobe Digital Publishing Solution - Content Services SDK. the client_id and client_secret are part of this API key.

After you have received the API key, you can generated the device_token and device_id through: https://aex.publish.adobe.com/index.html#/

client_version you can define yourself. For example: edoglobo_0.1

-Klaasjan

leonardobarcell
June 24, 2015

Hi Ktukker! I tried to generate a device_token and device_id through this link you mentioned but I got a message saying that my client_id was invalid. I'm a developer from OGlobo. I used a client_id that was created by you. (I'm in stage02 environment).

Thank you,

mikecyang
Adobe Employee
Adobe Employee
June 24, 2015

Hi,

To generate the device id and token for the stage environment, please refer to this URL instead:

https://aex.stage02.publish.adobe.com/index.html#/

Please note that the DPS 2015 Beta is on the production environment. If you wish to use the SDK with your Beta account, use the URL that Klaasjan provided. You will also need production API endpoints, please contact me if you need them (mikey@adobe.com).

- Mike

leonardobarcell
June 24, 2015

Hi Mikey, I tried to generate the device_id and device_token but but couldn't.
Message:  "Error when getting the device token. Reason: User is not authorized to generate IMS Refresh Token."

I'm on the correct environment, I'm doing some research with the API, understanding how things works.

mikecyang
Adobe Employee
Adobe Employee
June 24, 2015

Please email me the client ID and the Adobe ID that you'll be using.

- Mike

June 24, 2015

Hello Leonardo I'm Jeffeson from Editora Globo, did you solve this problem? tks.