Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 2.63 KB

AEM_CLOUDSERVICES_SETUP.md

File metadata and controls

37 lines (33 loc) · 2.63 KB

AEM - CloudServices Setup

Pre-requsites

This integration package requires following pre-requisites:

  • JDK 8+ or JDK 11+
  • AEM 6.5.x

Note: This integration has NOT been tested with AEM as a Cloud Service.

Setup

  • Create a new Cloud Service configuration. Enter the details as: create create-config
  • Title: Title of your configuration e.g. Hootsuite Integration config-title
  • OAuth Endpoint Host: Configure the OAuth Endpoint - https://platform.hootsuite.com/oauth2/token
  • OAuth Scope: Enter the OAuth Scope - offline
  • OAuth Grant Type : Enter the grant type - authorization_code
  • Redirect URL: Enter the Redirect callback URL - Same as configured in Hootsuite Integration App.
  • Client ID: Your Hootsuite OAuth App Client ID.
  • Client Secret: Your Hootsuite OAuth App Client Secret.
  • Click on "Connect" button - This would estable connectivity between AEM and Hootsuite using the aforesaid integration credentials. create-config
  • Click on 'Allow' button on the Hootsuite consent screen. consent-screen
  • Upon clicking the 'Allow' button on the consent screen, the user would be redirected to the default callback URL - https://www.getpostman.com/oauth2/callback. It is advisable to get the correct redirect URL configured i.e. <AEM_AUTHOR_HOST>/bin/services/authorize. However, in case the default callback url is configured, user/admin is advised to modify and hit the call back url in the browser from https://www.getpostman.com/oauth2/callback?code=&scope=offline&state= to <AEM_AUTHOR_HOST>/bin/services/authorize?code=&scope=offline&state=. Please ensure that query parameters in the URL are not changed. If the user/admin sees a white screen, it implies that connection has been established successfully. Please report any exceptions or errors, if encountered, on this screen.
  • Finally, Save and close the configuration.