Expand my Community achievements bar.

SOLVED

AEM Upload API Authentication

Avatar

Level 1

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

 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-fc560f...

Hope this helps.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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-fc560f...

Hope this helps.

Avatar

Level 1

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.