we are logging from the external website, then that website post the login details to the /content/XXXX.html.
I am getting those details using
1. http://localhost:4502/system/console/configMgr
2. Search for 'Apache Sling Referrer Filter'
3. Remove POST method from the filter. Then you can call your POST method anywhere.
4. Select “Allow Empty”
Is there a way not to delete the POST Method in the filter and deselect Allow Empty.
I have entered the Host origin in the Allow host.
Still I am seeing forbidden issue.
STATUS:MESSAGE:SERVLET:
403 |
Forbidden |
org.apache.felix.http.base.internal.dispatch.DispatcherServlet-4f516331 |
Solved! Go to Solution.
Views
Replies
Total Likes
@kbitra1998 you need to update Referrer filter and CSRF filter to make POST call work.
Refer below link for steps:
https://taylor.callsen.me/security-and-java-servlets-in-aem-6-1/
@kbitra1998 you need to update Referrer filter and CSRF filter to make POST call work.
Refer below link for steps:
https://taylor.callsen.me/security-and-java-servlets-in-aem-6-1/
@Shashi_Mulugu Thanks a lot, It's working fine.
Views
Likes
Replies