QuestionQ47

VerifiedIntegrating AEM into application servers and web servers

A customer wants to let logged-in/authenticated users mark pages served from AEM as favorites. Favorites are saved and retrieved through a REST API from AEM.

The POST REST API call used to save favorites always fails with a 403 Forbidden error.

Which two configurations should the Architect review?

Choose two
Explanation

AEM requires authenticated POST requests to include a valid CSRF token; a missing or invalid token is rejected with HTTP 403. A POST can also be rejected by the Apache Sling Referrer Filter when its referrer, host, or allowed request settings do not permit it. These two request-security configurations directly govern whether the authenticated REST write is accepted.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!