Expand my Community achievements bar.

SOLVED

Accessing config console results in Infinite Loop of redirecting to login page

Avatar

Level 1

On AEM 6.1 SP2 - Java 1.8

Created new users and added them to the administrators group.  These users are able to be access everything /crx/packmgr, /siteadmin, /useradmin, etc except anything under /system.  Everything works using the admin user including the /system pages.

On author node, whether you have authenticated at crx/de first or not, trying to access the system/console/bundles page redirects you to login again.  Upon entering credentials, the page keeps redirecting to itself in a loop and generates an auth token (checked in /system/console/tokenmgr) but never logs in.

On publish node, logging in crx/de then accessing system/console/bundles throw an

Problem accessing /system/console/bundles. Reason: org.apache.sling.api.auth.NoAuthenticationHandlerException

 

I've tried creating a new group, adding all perms, and adding a test user.. no luck.  The logs don't show any errors related to auth just 302 redirects.  The only user that will work is the admin user.

25/Apr/2017:17:57:51 +0000 [6294] -> GET /libs/granite/core/content/login.html?resource=%2Fsystem%2Fconsole%2FconfigMgr&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6294] <- 200 text/html;charset=utf-8 3ms 25/Apr/2017:17:57:51 +0000 [6295] -> GET /system/console/configMgr HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6295] <- 302 - 3ms 25/Apr/2017:17:57:51 +0000 [6296] -> GET /libs/granite/core/content/login.html?resource=%2Fsystem%2Fconsole%2FconfigMgr&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6296] <- 200 text/html;charset=utf-8 4ms 25/Apr/2017:17:57:51 +0000 [6297] -> GET /system/console/configMgr HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6297] <- 302 - 3ms 25/Apr/2017:17:57:51 +0000 [6298] -> GET /libs/granite/core/content/login.html?resource=%2Fsystem%2Fconsole%2FconfigMgr&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6298] <- 200 text/html;charset=utf-8 4ms 25/Apr/2017:17:57:51 +0000 [6299] -> GET /system/console/configMgr HTTP/1.1 25/Apr/2017:17:57:51 +0000 [6299] <- 302 - 4ms 25/Apr/2017:17:57:52 +0000 [6300] -> GET /libs/granite/core/content/login.html?resource=%2Fsystem%2Fconsole%2FconfigMgr&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown HTTP/1.1 25/Apr/2017:17:57:52 +0000 [6300] <- 200 text/html;charset=utf-8 4ms

only errors i've seen in stdout.log

25.04.2017 15:36:41.576 *ERROR* [FelixDispatchQueue] com.adobe.acs.acs-aem-commons-bundle FrameworkEvent ERROR (org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.) 25.04.2017 17:03:45.931 *ERROR* [10.11.1.69 [1493139825843] GET /bin/security/authorizables.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable java.lang.IllegalArgumentException: Must have a Repository Authorizable to build
1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

Please login to /system/console using admin user. 

Then navigate to /configMgr - search for this configuration "Apache Sling Web Console Security Provider".

Add the users you want to give permission to /system/console. This is an additional level of security. 

Thanks,

Vamsi

View solution in original post

3 Replies

Avatar

Correct answer by
Level 4

Hi,

Please login to /system/console using admin user. 

Then navigate to /configMgr - search for this configuration "Apache Sling Web Console Security Provider".

Add the users you want to give permission to /system/console. This is an additional level of security. 

Thanks,

Vamsi

Avatar

Level 2

I am getting the below error message while accessing the /system/console/configMgr page hence not able to proceed even updating the configurations