Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AEm 6.3 csrf token expiration : post request to servlet in pulblisher via dispatcher

Avatar

Level 2

Hi Team,

I am accessing a page via dispatcher( apache 2.4) which internally call some servlet post request .

I get below message followed by  forbidden response for the post request to that servlet triggered via accessing the page.

*INFO* POST /services/**HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty CSRF token - rejecting

*INFO* POST /services/** HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid

POST /services/*** HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /services/**.servlet is not in available search paths

If I access the page directly via publisher , all response looks good.

Any pointer's will be helpful. Thanks in Advance

 

Regard,

Swapnil Gupta

1 Reply