I have set up an instance of AS 5.1.0 to perform SAML SSO with an instance of IS 4.1.0. When I connect to the AS Management Console, I get forwarded to the SAML SSO login page on the IS instance. After entering my credentials I am forwarded back to the AS instance where I receive a page indicating that the login failed.
In the AS server's log, I see that an exception was thrown: org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticatorException: Error occured while processing saml2 response
This message is preceded by: ERROR {org.wso2.carbon.identity.authenticator.saml2.sso.util.Util} - Content is not allowed in prolog.
If I do not use SAML SSO, I can log in to both Management Consoles without any problems.