Copy link to clipboard
Copied
I am using a runtime action to do some post processing and integrations with other systems after an Asset in AEM is published. I need to be able to do a get request based on the path from the parameters passed into the Runtime action. When using a local JWT token (or setting up JWT) I can pull down the data on the assets.
The issue I run into is that when using OAuth, I can get a Bearer Token but using that Bearer Token results in a 401 unauthorized error when getting the asset. I have tried reading through a lot of the docs for the various APIs I can configure from the project to add to the OAuth Scope but keep running into the same unauthorized error. I have looked through the docs on https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/extending/mac-api-as... on CRUD API calls for assets but OAuth scope is never mentioned for being able to access these endpoints.
What am I missing in being able to access the assets from within a Runtime Action?
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
This has already been moved? I am not seeing it under the experience league communities you linked
Copy link to clipboard
Copied
it's moved but not experience league
Copy link to clipboard
Copied