Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I am working with AEM 6.5, backed by Sling for SAML authentication and am having issues with the postProcess method that is invoked after a user is authenticated. I am attempting to do a redirect, but for some reason that is not working, here is what i have in my postProcessor
httpServletResponse.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
httpServletResponse.setHeader("Location", "https://www.google.com");
I have also tried
try {
httpServletResponse.sendRedirect("https://www.google.com");
} catch (IOException e)
which is also not working.
Wondering why it seems that sling is blocking the redirect as the client is not being redirected.