How to get metadata of Dam Asset while accessing an asset through Asset API from 3rd party app
I am using the JWT Bearer Token Server to Server Integration.
and trying to access the asset in AEM through the asset api endpoint from 3rd party application:
I am facing few issues:
1. Everytime a new access token is generated using the JWT Bearer and a call is made to access asset, a new oauth user is generated. Is there a way to restrict this and only use one oauth user over multiple tokens.
2. The oauth user generated has only read permissions on content/dam assets, because of which im not getting the asset metadata in the response as it requires either write/modify/all privileges. Is there a way where we can add these generated oauth user to some group.