Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

OAuth Server-to-Server credential implementation for AEM

Avatar

Community Advisor

Hello,

 

We are trying to set-up OAuth Server-to-Server credential implementation for AEM.

References used:

https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthenticatio...

https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthenticatio...

 

On generating new Oauth credentials https://developer.adobe.com/ there is no corresponding user created in AEM.

 

As per [0], we have tried creating user with "TECHNICAL ACCOUNT EMAIL" and "TECHNICAL ACCOUNT ID" in https://adminconsole.adobe.com/  , but its failing consistently. 

 

 

[0]: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/develo... 

 

Requesting suggestions on how to sync OAuth credentials from  https://developer.adobe.com/  to AEM.


Aanchal Sikka

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The Oauth credential set up via  https://developer.adobe.com/  is currently not supported for AEMaaCS.

We need to use Service Credentials created via CM Developer Console instead

 


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi,

 

To sync OAuth credentials from the Adobe Developer Console to AEM:

  1. Create a Technical Account in the Adobe Developer Console.
  2. Create a user in AEM with the same Technical Account Email and ID.
  3. Assign the required permissions and roles to the user.
  4. Save the user details and ensure it is active.

This establishes the sync between OAuth credentials and AEM.

Avatar

Correct answer by
Community Advisor

The Oauth credential set up via  https://developer.adobe.com/  is currently not supported for AEMaaCS.

We need to use Service Credentials created via CM Developer Console instead

 


Aanchal Sikka

Avatar

Level 3

Hi @aanchal-sikka ,
I hope still this is the same. If we need to use the http API, we have to use the authentication method documented here - https://experienceleague.adobe.com/en/docs/experience-manager-learn/getting-started-with-aem-headles...

Hope this will not get deprecated. I haven't seen an OAuth server-to-server authentication mode available for AEM assets HTTP API. Can you please confirm?
Thanks,
Rahul