Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

CSRF TOKEN INVALID RESPONSE

Avatar

Level 6

Hi,

 

In few of our publisher nodes, we are getting response of CSRF token as below for unauthorized users.

 

Ideally response should  be null and it should load from server. But in our case CSRF response is loading from Browser disc cache and other post calls are failing.

 

{"jcr:primaryType":"nt:unstructured","jcr:mixinTypes":["rep:AccessControllable"],"sling:resourceType":"granite/csrf/token"}

 

Any idea?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 6

Avatar

Community Advisor