Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to remove broken SAML configuration on AEM Author or a bypass url?

surenk
Level 3
Level 3

We have configured a SAML configuration on AEM Author. The integration isn't working but we are locked out of accessing AEM Author. The SAML bypass url doesn't seem to be working as well.

 

Our redirect url isn't correct so we need to remove the SAML config.The SAML bypass url shows AEM Author login page, but does not let us go beyond. 

 

Configuration:

1. Create a Trust Store

2. Updated Authentication Service user adding a Keystore

3. Created a new SAML configuration in ConfigMgr.

 

By pass url we are using: http://<server>:4502/libs/granite/core/content/login.html

 

Logs reporting this:

 

24.05.2021 23:05:35.879 *INFO* [qtp936030377-1973] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials

 

 

How can we solve this?

1 Accepted Solution
Vaibhavi
Correct answer by
Community Advisor
Community Advisor

Hi @surenk , 

Siteadmin will redirects to SMAL url configured. You can login to crxde directly and remove the the configuration. 

  • Navigate to http://localhost:4502/crx/de/index.jsp
  • Enter the credentials to login 
  • Navigate to SAML config file and remove the configuration. Or navigate to system config and remove the configuration. 

This must stop you from redirection. 

View solution in original post

3 Replies
Vaibhavi
Correct answer by
Community Advisor
Community Advisor

Hi @surenk , 

Siteadmin will redirects to SMAL url configured. You can login to crxde directly and remove the the configuration. 

  • Navigate to http://localhost:4502/crx/de/index.jsp
  • Enter the credentials to login 
  • Navigate to SAML config file and remove the configuration. Or navigate to system config and remove the configuration. 

This must stop you from redirection. 

View solution in original post

surenk
Level 3
Level 3
I tried /crx/de and /crx/packmgr and several others, they all would redirect to AEM Author login and won't let the button submit. We had no choice but to restore AEM from a previous backup.
Vaibhavi
Community Advisor
Community Advisor

Another option would be, you should have removed the SMAL config from code and deployed.