Hello Everyone,
I have created Assets HTTP API. its GET method only. Now, 3rd party spring boot application(for the same client, handled by known team) wants to access this GET api. Now, what is the minimum configuration I need to do in my AEM application? Note: 3rd party application calls the get method from their backend logic (in this case, its from Java)
I hope CORS setting is not required for this? So, I need to modify only under: Apache Sling Referrer Filter configuration?
cc @aanchal-sikka @arunpatidar @Imran__Khan @BrianKasingli @TarunKumar
Solved! Go to Solution.
Views
Replies
Total Likes
To allow the third-party Spring Boot application to access your AEM Assets HTTP API, you need to configure the necessary CORS (Cross-Origin Resource Sharing) settings in your AEM application. CORS enables web servers to specify which origins (domains) have permission to access its resources. Here's what you need to do:
Configure CORS in AEM:
http://localhost:4502/system/console/configMgr
).Ensure the Assets HTTP API is accessible:
To allow the third-party Spring Boot application to access your AEM Assets HTTP API, you need to configure the necessary CORS (Cross-Origin Resource Sharing) settings in your AEM application. CORS enables web servers to specify which origins (domains) have permission to access its resources. Here's what you need to do:
Configure CORS in AEM:
http://localhost:4502/system/console/configMgr
).Ensure the Assets HTTP API is accessible:
Thanks @arunpatidar for the clarification.
What is the role of Apache Sling Referrer Filter? In this configuration, settings are not required? In what scenario, I need to configure/use the Referrer Filter?
I heard Adobe Granite Cross-Origin Resource Sharing Policy configuration was introduced from AEM 6.3? Correct me if I am wrong.
Views
Replies
Total Likes
Hi @Mahesh_Gunaje
When you have modification requests like POST, PUT etc calls, in that case you need to apply Apache Sling Referrer Filter changes
Yes CORS changes you need to do
Views
Likes
Replies