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

OAuth Server-to-Server credential Integration with aio

  • June 7, 2023
  • 2 replies
  • 4980 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
Level 2
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.

Level 4
October 5, 2023

@gmalagondla @sanith I'm in the same boat. Please let me know if you receive any update from them ?

My JWT token were nearing expiry and we decided to migrate to OAuth instead of refreshing the token.

 

Looks like we can't go back to using JWT tokens once the migration has happened 😞

 

Affecting our build automation which pushes code to cloudmanager and tailing logs.


Hi!

Any news about oauth authentication with AIO CLI?

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

Level 2
May 22, 2024

Thanks very much for sharing the update @rwunsch-adobe