After SAML Response POST AEM sends user to secured URL with extra question mark
עודכן לאחרונה בתאריך May 20, 2021 12:44:50 PM GMT
AEM redirects the user to the original secured URL with an extra "?" after the IDP SAML Response POST back to AEM. This is breaking SAML auth. The extra "?" is set in the saml_request_path cookie.
The scenario goes like this:
- The user goes to a secured url on the AEM instance that includes a querystring, for example /secured.html?test=1.
- AEM sends the user to the IDP (Authn POST or redirect).
- IDP does the SAMLResponse POST to AEM.
- AEM redirects the user to the url from step 1 but with an extra question mark added to the querystring, for example /secured.html??test=1.
This is a known AEM product bug GRANITE-14613.
Either install the latest AEM 6.2 Cumulative Fix Pack or contact AEM Customer Care for hotfix 13707.