OAuth Server-to-Server credential Integration with aio | Community
Skip to main content
June 7, 2023

OAuth Server-to-Server credential Integration with aio

  • June 7, 2023
  • 2 replies
  • 4938 views

Hi,

 

With Service Account (JWT) credential, by following below commands we are able to configure credential and private key.

 

aio config:set jwt-auth PATH_TO_CONFIG_JSON_FILE --file --json

aio config:set jwt-auth.jwt_private_key PATH_TO_PRIVATE_KEY_FILE --file

 

But as per new update from adobe this feature is deprecated and we need to go with  OAuth Server-to-Server credential. How can I configure oauth with aio ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

aanchal-sikka
Community Advisor
Community Advisor
June 7, 2023

Hello @sanith 

 

OAuth is not currently supported for AEM. Please raise a support ticket to confirm the same.

Aanchal Sikka
sanithAuthor
June 7, 2023

Thanks for the update.

In my case, I need to trigger the Cloud Manager build pipeline and fetch the build logs using aio command. To achieve this in a fully automated environment, I want to configure the authentication details. Previously, it was possible to use JWT for authentication, which allowed skipping the browser-based authentication process that 'aio login' requires.

July 11, 2023

Hello @sanith ,

 

Thanks for posting this question. I am trying to implement the same in my project. We are using Jenkins to push the code from local to Adobe cloud manager using aio-cli. Can we use oauth server to server credentials for the same?

Thanks!


I am also looking for this info. Any luck?

Adobe Employee
May 14, 2024

Hello all,

 

I think the Cloudmanger team is aware of the JWT deprecation and i guess is actively working on implementing Oauth into AIO console for such automations.

There were several request coming in though the support portal throughout the last 6 months.


I was just informed that the implementation of Oauth is complete and ready to use. 
See: https://github.com/adobe/aio-cli-plugin-cloudmanager?tab=readme-ov-file#setup-for-oauth-integration

May 22, 2024

Thanks very much for sharing the update @rwunsch-adobe