Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
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