AEM internal url redirect redirecting to domain url | Community
Skip to main content
Level 2
October 29, 2023

AEM internal url redirect redirecting to domain url

  • October 29, 2023
  • 3 replies
  • 1453 views

Hi all, 

 

We facing issue in redirection, trying to hit the internal aem url but its redirecting to domain(SAML). Removed the saml config but still redirecting SAML(SSO login). 

 

Anyone facing the issue? Please help on this. 

 

 

3 replies

Lokesh_Vajrala
Community Advisor
Community Advisor
October 29, 2023

Hi @blackbox1 

 

When the SSO through SAML is enabled, AEM will redirect to the Identity Provider to authenticate and then brings the user back to AEM. 

How did you remove the SAML config? May be the Authentication Handler is still active in the environment. You can confirm that in OSGi Config Manager or http://localhost:4502/system/console/slingauth . 

 

If all the configurations looks good, please share additional details on the request flow to get assistance.  

 

To access the AEM default login screen, you can use this path - /libs/granite/core/content/login.html. This allows you login with local users such as admin or other users you created in the instance. 

 

Thanks

Lokesh

blackbox1Author
Level 2
October 31, 2023

Hi Lokesh, 

 

I don't want to remove the SAML validation. I want to login internal URL with admin credentials. 

Example: If I try to hit https://domain:4502/libs/granite/core/content/login.html it redirecting to SAML login(IDP url).

 

Even I tried to remove the path and service ranking, but still redirecting to SAML.

aanchal-sikka
Community Advisor
Community Advisor
October 29, 2023

Hello @blackbox1 

 

Please restart your AEM instance, that should hopefully resolve the issue.

 

Aanchal Sikka
blackbox1Author
Level 2
October 31, 2023

Hi Aanchal, 

I restarted multiple times facing the same issue.

kautuk_sahni
Community Manager
Community Manager
October 30, 2023

@blackbox1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni