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
BedrockMission!

Learn More

View all

Sign in to view all badges

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,127 likes

Total Posts

6,121 posts

Correct Reply

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

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,121 posts

Correct Reply

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

27-09-2018