Expand my Community achievements bar.

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