Getting CSRF token as invalid on POST servlet call.
Hi All,
Facing CSRF token issue on accessing a Servlet from Dispatcher URL.
Version: AEM 6.3
The Servlet is working as expected in Publish Instance.
On accessing the same through Dispatcher, getting the below errors on Publish error logs:
18.04.2018 04:02:44.014 *INFO* [10.226.233.136 [1524038564013] POST /bin/project-name/favoriteservlet HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty CSRF token - rejecting
18.04.2018 04:02:44.014 *INFO* [10.226.233.136 [1524038564013] POST /bin/project-name/favoriteservlet HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid
18.04.2018 04:02:44.015 *WARN* [10.226.233.136 [1524038564013] POST /bin/project-name/favoriteservlet HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /bin/project-name/favoriteservlet.servlet is not in available search paths
Please note that below clientlibs are available in the page:
granite.csrf.standalone
cq.jquery
Could anyone please help me out.


