Building an entitlement service

Editora_Globo_S

23-06-2015

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.

Accepted Solutions (1)

Accepted Solutions (1)

ktukker1

Employee

23-06-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

Answers (6)

Answers (6)

leonardobarcell

24-06-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

Employee

24-06-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

24-06-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,