AEM Upload API Authentication | Community
Skip to main content
New Member
December 3, 2022
Solved

AEM Upload API Authentication

  • December 3, 2022
  • 1 reply
  • 1353 views

Hello All,

 

I am trying to use AEM upload tool in a node JS application (https://github.com/adobe/aem-upload) to upload asset to AEMaaCS direct binary storage. Per Adobe's documentation, the process involves 3 steps - initiate upload, upload binary and complete upload. I've following questions regarding this specifically the authentication.

 

  1. Does the AEM upload tool performs all the 3 steps mentioned above?
  2. How this tool can authenticate with cloud AEM author to initiate upload request? Our cloud AEM author is setup to authenticate using OKTA.
  3. Does it allow us to use local development access token?

 

Thank you in advance.

 

Regards,

Gopal R

 

 

 

 

 

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

Hi @gopalakrishnan_r

Kindly refer to below blog link that will provides you the insights to use AEM upload tool. If you go through the Readme.md file, it's mentioned that the process will only work with AEM instances that use basic (i.e. non-SSO) authentication. I think this would not work if your AEM author is authenticated using OKTA. This should work with local AEM author instance.

https://blog.developer.adobe.com/introduction-to-aem-as-a-cloud-service-asset-upload-http-api-fc560ffd7221

Hope this helps.

1 reply

Avinash_Gupta_
Community Advisor and Adobe Champion
Avinash_Gupta_Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 3, 2022

Hi @gopalakrishnan_r

Kindly refer to below blog link that will provides you the insights to use AEM upload tool. If you go through the Readme.md file, it's mentioned that the process will only work with AEM instances that use basic (i.e. non-SSO) authentication. I think this would not work if your AEM author is authenticated using OKTA. This should work with local AEM author instance.

https://blog.developer.adobe.com/introduction-to-aem-as-a-cloud-service-asset-upload-http-api-fc560ffd7221

Hope this helps.

New Member
December 26, 2022

Thank you for your response @avinash_gupta_. If possible, could you please address my question on whether the AEM Upload tool performs all the three steps involved in the AEM asset upload process?

 

Also AFAIK, the local development cloud SDK does not support Asset Upload HTTP API and it has been mentioned in the blog article that was in your response. Am I missing anything here?

 

Thank you again.