Call Assets API with OAuth token | Community
Skip to main content
juann2155766
June 9, 2023
Solved

Call Assets API with OAuth token

  • June 9, 2023
  • 1 reply
  • 682 views

Hi

 

I'm using AEM as a cloud and I'm creating an external application that needs to upload a file to AEM DAM. For that, I'm using Assets HTTP API successfully either using local development token or JWT token. The problem is when I try to call Assets API using OAuth token (as suggested in Adobe docs since JWT is deprecated). When using OAuth token (generated on Adobe developer console), I'm getting a HTTP 401 response. 

From Adobe developer console, I have created a project, configured it to use OAuth server-to-server authentication and I have added all products that could be related to Assets API (I'm not sure which of those products includes Assets API). 

 

Any ideas what the problem can be?

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 aanchal-sikka

Hello @juann2155766 

 

OAuth token is not supported with AEM currently. Please confirm by raising a support ticket.

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
June 11, 2023

Hello @juann2155766 

 

OAuth token is not supported with AEM currently. Please confirm by raising a support ticket.

 

Aanchal Sikka