Login page not formatted properly in AEM


When going to the AEM Author login page, the page shows the default browser font and colors for the login field, instead of showing the properly formatted field.


AEM 6.3, AEM 6.4


CSS and JS for the login page is not loaded properly, because /etc.clientlibs is not allowed for anonymous users.


  1. 1. Go to http://aemhost:port/system/console/configMgr and log in as admin.

  2. 2. Fine the OSGi configuration for Apache Sling Authentication Service.

  3. 3. Ensure that Authentication Requirements has the rule:


  4. 4. Add the rule and save if it's missing.