Create the OAuth Web App credential
The credential is created in an Adobe Developer Console project in the same organization as your AEM program.
Create the project
Sign in to the Adobe Developer Console, then under Quick Start, click Create new project.
- Click Edit project, enter a name, then click Save.
Add the AEM API
On the project page, click Add API.
- In the Add API dialog, filter by Experience Cloud.
- Select the AEM API this integration calls, such as AEM Assets Author API.
- Click Next.
- A card marked License required needs a modernized AEM as a Cloud Service environment.
Configure the credential
In the Configure API dialog, select User Authentication, then OAuth Web App.
- Default redirect URI: the Callback URL StackOne shows you when you connect
- Redirect URI pattern: the Callback URL StackOne shows you when you connect
- Click Save configured API.
Confirm the credential permissions
In the Configure OAuth Web App dialog, Review the available scopes and confirm the credential covers the permissions this integration needs, plus offline_access, which Adobe requires before it issues a refresh token:
Copy the credentials
Copy the Client ID and Client Secret from the OAuth Web App credential across.
Allow-list the client ID in AEM
An AEM as a Cloud Service environment accepts calls only from the client IDs listed in its API configuration. In the config folder of your AEM project, create or open api.yaml and add the Client ID under each tier this integration calls.
- Commit the file and push it to the Git repository connected to Cloud Manager.
- Deploy it with a Config Pipeline in Cloud Manager. Full Stack and Web Tier pipelines do not deploy the file.
- Repeat for every AEM environment an account will connect to.
Find your AEM Hostname
Your AEM Hostname is the host of the AEM as a Cloud Service environment this account connects to. The author tier always uses an Adobe-managed host, built from your Program ID and Environment ID.
- Format:
author-p{Program ID}-e{Environment ID}.adobeaemcloud.com - Example:
author-p1234-e5678.adobeaemcloud.com - For an account that calls the delivery-tier actions, use the publish or preview host of the same environment, such as
publish-p1234-e5678.adobeaemcloud.com. - Sign in to Cloud Manager and open your program, then from the left side menu, under Services, click Environments to list the environments in the program.
- Copy the AEM Hostname across, with no
https://and no trailing slash.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions