The OAuth 2.0 Playground is an Adobe internet utility that enables developers to easily obtain an OAuth 2.0 access token for use in building and testing their integrations. Before you use the OAuth 2.0 Playground, you should already have created an integration you want to use for this purpose. The OAuth 2.0 Playground source code is also available for you to view and experiment with.
Steps to obtain a token:
-
Go to OAuth 2.0 Playground
-
Go to the Adobe I/O Console
-
Create an integration: choose to access an API, and then select the services with which you wish to integrate (such as Adobe Analytics > OAuth 2.0 Integration)
-
Provide the Redirect URI pattern as
https://runtime\\.adobe\\.io
-
Copy your API Key and Client Secret from your Adobe I/O Console integration to OAuth 2.0 Playground.
-
Enter scopes as:
openid,read_organizations,additional_info.projectedProductContext,additional_info.job_function
-
Click Generate Tokens.
-
You will be prompted for login by Adobe. Log in using your Adobe ID.
-
Your tokens will be generated.