diff --git a/gatsby-config.js b/gatsby-config.js index 7588f5e8..c848fdf0 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -197,10 +197,6 @@ module.exports = { }, { pages: [ - { - path: "guides/authentication/Tools/o-auth-playground.md", - title: "OAuth 2.0 Playground" - }, { path: "guides/authentication/Tools/postman.md", title: "Postman" diff --git a/src/pages/guides/authentication/Tools/index.md b/src/pages/guides/authentication/Tools/index.md index c21d09f1..d2bedd69 100644 --- a/src/pages/guides/authentication/Tools/index.md +++ b/src/pages/guides/authentication/Tools/index.md @@ -1,12 +1,6 @@ # Tools Overview - -## OAuth 2.0 Playground -Do you have an OAuth integration created? - -[Try the OAuth 2.0 Playground tool](o-auth-playground.md) to generate an access token. - ## Postman [Try Postman for generating an access token](postman.md) for both OAuth and Service Account Integration. diff --git a/src/pages/guides/authentication/Tools/o-auth-playground.md b/src/pages/guides/authentication/Tools/o-auth-playground.md deleted file mode 100644 index 81f74cef..00000000 --- a/src/pages/guides/authentication/Tools/o-auth-playground.md +++ /dev/null @@ -1,36 +0,0 @@ -# OAuth 2.0 Playground - -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: - -1. Go to [OAuth 2.0 Playground](https://adobeioruntime.net/api/v1/web/io-solutions/adobe-oauth-playground/oauth.html) - - ![op-1](../Images/OP_1.png) - -2. Go to the [Adobe Developer Console](https://developer.adobe.com/console/) - -3. Create a project within Console. For complete steps to creating a project in Console, begin by reading the [Adobe Developer Console getting started guide](../../getting-started.md) and [projects overview](../../projects/index.md). - -4. Once you have created a project, you will be able to add services including APIs, Adobe I/O Events registrations, and Adobe I/O Runtime. Add an API to your project and then select the services with which you wish to integrate (such as Adobe Analytics > OAuth 2.0 Integration) - - To add an API that uses OAuth authentication and authorization, follow the steps outlined in the guide for [adding an API to a project using OAuth authentication](../../services/services-add-api-oauth.md). - - When the API has been successfully connected, you will be able to access the newly generated credentials including Client ID and Client Secret. - -5. Copy your **Client ID** (API Key) and **Client Secret** from Adobe Developer Console into the OAuth 2.0 Playground. - -6. Enter scopes as: - ```openid,read_organizations,additional_info.projectedProductContext,additional_info.job_function``` - - ![op-3](../Images/OP_3.png) - -7. Click **Generate Tokens.** - -8. You will be prompted for login by Adobe. Log in using your Adobe ID. - - ![op-4](../Images/OP_4.png) - -9. Your tokens will be generated. - - ![op-5](../Images/OP_5.png)