Expand my Community achievements bar.

Facing redirection issue on SAML SSO login using Okta

Avatar

Level 2

I am facing redirection issue while SSO login;however SSO is working fine but its redirecting to “content/MySite/en/home.html” instead of “/".

e.g 

1- Access the site, say- www.abc.com

2- its redirecting to "www.abc.com/content/MySite/en/home.html" (404 error) instead of "www.abc.com"; SSO is working fine and SSO user is creating as expected in AEM, but its redirecting to bad URL, Its happening due to "saml_request_path" cookie which set wrong path.

Note: we are shorting the url using resource resolver so that "content/MySite/en" would not be there in URL.

somehow If we set "saml_request_path" cookie "/" OR "" before posting saml then it should be work as this cookie setting wrong path. but dont know from where we can set.

0 Replies