AEM 6.0 Author Loads very Slow & each Request loads with CSRF.js | Community
Skip to main content
June 1, 2017
Solved

AEM 6.0 Author Loads very Slow & each Request loads with CSRF.js

  • June 1, 2017
  • 2 replies
  • 2534 views

Dear All,

We are working with AEM 6.0 & when ever we open Site admin and pages - each request loading with CSRF.js https://<<DOMAIN NAME>>/etc/clientlibs/granite/jquery/granite/csrf/source/csrf.js

How to disable this CSRF.js calling? It is happening only with AUthor when we are trying to access with DOMAIN NAME.

If I open with IP then this call is not generating.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vaibhavs7024655

Hi Krishna,

CSRF request is triggered with every POST request. It is very important for security purposes and should not be disabled. Disabling it can be a security threat.

However, if you still want to do it then log into the OSGi console & stop the bundle "Adobe Granite CSRF Framework(com.adobe.granite.csrf)".

By disabling the bundle "Adobe Granite CSRF Framework (com.adobe.granite.csrf)", CSRF protection will be disabled. This is a security risk and should be done with caution.

2 replies

smacdonald2008
Level 10
June 1, 2017

See this related thread - it may help. Needed Help on CSRF Functionality

vaibhavs7024655
vaibhavs7024655Accepted solution
Level 3
June 1, 2017

Hi Krishna,

CSRF request is triggered with every POST request. It is very important for security purposes and should not be disabled. Disabling it can be a security threat.

However, if you still want to do it then log into the OSGi console & stop the bundle "Adobe Granite CSRF Framework(com.adobe.granite.csrf)".

By disabling the bundle "Adobe Granite CSRF Framework (com.adobe.granite.csrf)", CSRF protection will be disabled. This is a security risk and should be done with caution.