Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Level 2
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] 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



Swapnil Gupta

1 Reply