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

Avatar

Avatar
Validate 1
Level 2
swapnilg7731718
Level 2

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
swapnilg7731718
Level 2

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
swapnilg7731718
Level 2

24-09-2018

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

Replies

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,205 likes

Total Posts

6,410 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,205 likes

Total Posts

6,410 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

27-09-2018