I assume that there is more to the response than what is above? E.g. a
signature?
> The decoding process in SAML2/HTTPPost.php:90 with base64_decode()
> fails and this function return false.
Have you looked at what data is passed to the base64_decode()-function?
My guess is that is is not valid base64-encoded data.
Best regards,
Olav Morken
UNINETT / Feide
I'd argue that you have fixed this in the wrong place. The correct
place to fix this is the IdP, which apparently isn't sending the
responses with the HTTP-POST binding.
> $tmp = base64_decode($msg);
> if($tmp){
> $msg = $tmp;
> }
>
> Now, the error is
> "Missing <saml:Issuer> in message delivered to
> AssertionConsumerService."
> but the tag Issuer is present ( <saml:Issuer
> Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://
> localhost:9443/samlsso</saml:Issuer> )
We are overly strict, and require the Issuer-element to be included in
the samlp:Response element (even if the saml:Assertion isn't
encrypted). I have now committed a fix for this in r3048:
http://code.google.com/p/simplesamlphp/source/detail?r=3048
Still no signature present...