SAML2ECP profile is not configured for relying party 'urn:federation:MicrosoftOnline'
Ryan Suarez
ryan.suarez at sheridanc.on.ca
Fri Oct 12 10:36:29 EDT 2012
On 12-10-12 10:11 AM, Cantor, Scott wrote:
> You apparently created a dedicated RelyingParty definition and it doesn't
> contain the ECP profile config element in relying-party.xml.
> Alternatively, if it's using the DefaultRelyingParty element, the profile
> isn't there either.
>
> It was added, I believe, to the default file in newer versions, but it
> can't be there if you upgraded and didn't add it.
Right. Upgraded the IdP (to v2.3.6) and had to manually add all the ECP
bits, which I copied from a clean install of v2.3.8:
relying-party.xml
<rp:ProfileConfiguration xsi:type="saml:SAML2ECPProfile"
includeAttributeStatement="true"
assertionLifetime="PT5M"
assertionProxyCount="0"
signResponses="never"
signAssertions="always"
encryptAssertions="conditional"
encryptNameIds="never"/>
handler.xml
<ph:ProfileHandler xsi:type="ph:SAML2ECP"
inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:SOAP">
<ph:RequestPath>/SAML2/SOAP/ECP</ph:RequestPath>
</ph:ProfileHandler>
Is this not the right config?
More information about the users
mailing list