I need to disable the CSRF token.json call in every page load. In developer console, network tab token.json is getting generated which needs to be stopped. Please find the below screenshot for the same:
I have tried making changes in dispatcher.any by changing "allow" to "deny"
/0013 { /type "allow" /method "GET" /url '/libs/granite/csrf/token.json' /extension 'json' }
And also, I have tried the config change by adding /content path in exclude filter at http://localhost:4504/system/console/configMgr/com.adobe.granite.csrf.impl.CSRFFilter
Referrence URL: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/disable-csrf-on-aem-6-3/td...
Still I am unable to stop the token.json call, Could anyone please help me on how to disable the same.
Thanks in advance!
@arunpatidar @kautuk_sahni @Theo_Pendle @Vijayalakshmi_S @vanegi @BrianKasingli