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?
Solved! Go to Solution.