Gururaj Koni
Feb 26, 2025

If AEM redirects to /saml_login after authentication instead of the intended page, check the following:

1. SAML Authentication Handler: Ensure the Default Redirect URL is set correctly in AEM (/system/console/configMgr).

2. Sling Authentication Service: Verify login selector settings (/system/console/configMgr/com.day.crx.security.auth.login.LoginSelectorHandler).

3. IDP Configuration: Ensure the RelayState parameter is correctly passed.

4. Dispatcher Cache: Make sure /saml_login is not cached.

Try these and let me know if the issue persists!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Gururaj Koni
Gururaj Koni

Written by Gururaj Koni

AEM Full Stack Developer | Crafting seamless digital experiences with AEM. Follow for AEM insights & tips! gururaj.tech

Responses (1)

Write a response