Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Building an entitlement service

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

7 Replies

Avatar

Employee

Branched to a new discussion.

Neil

Avatar

Correct answer by
Employee

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

Avatar

Level 1

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,

Avatar

Employee

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

Avatar

Level 1

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.

Avatar

Employee

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

- Mike

Avatar

Level 1

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