Authentication to aio app builder from custom mcp
Hi,
I am currently working on assets with metadata migration task using the aio app builder. Calling the aio app builder code from custom MCP in AEM. When trying to make a call to app builder worker from custom mcp i am getting 401 authorization header is missing. I would like to know how to solve this issue. As it is expecting aio login token and org id from custom mcp also the login token will get refreshed every 24hrs, do we need to write a logic to generate the login token by passing the client credentials? Please let me know if anyone aware of this.
Thanks,
Bhavani Bharanidharan