<div dir="ltr"><div>We have upgraded from IDP-2.4 to 3.1. We have prepared our own Service Provider which sends SAML request to Shibboleth IDP.</div><div>So we have prepared the SP metadata which will be useful while communicating with IDP.Here We are telling to IDP about "<b>consumerUrl</b>" in two places.</div><div><br></div><div>i) when sending SAML request (IDP-2.4 & IDP-3.1)</div><div> consumerUrl = http(s)://ipaddress:port/SSOServiceProvider/SSO</div><div> authnRequest = this.buildAuthnRequestObject(spUrl, <font color="#ff0000">consumerUrl</font>);</div><div> </div><div> </div><div>ii) In SP-metadata</div><div>in IDP-2.4 & IDP-3.1</div><div><md:AssertionConsumerService Location="<font color="#ff0000">/SSOServiceProvider/SSO</font>" index="1" isDefault="true"</div><div>      Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"/></div><div><br></div><div><br></div><div>From the above in (i), We have given absoluteUrl when sending saml request but in metadata "Location" is  "<font color="#ff0000">/SSOServiceProvider/SSO</font>" which is relative. The above has been worked somehow in 2.4 but it is not working 3.1. We are getting the following log messge while running the IDP.</div><div><br></div><div><font color="#0000ff"> "The consumer urls did not match"</font></div><div><br></div><div><u>Queries:</u></div><div><br></div><div>a) Since the context (http(s)://ipaddress:port) is dynamic, How to make the application work by specifying "relativeUrl" (/SSOServiceProvider/SSO) in SP metadata?</div><div><br></div><div><br></div><div>b) Can we use any other index (ex: index=0) to specify  "AssertionConsumerService" in point(i)? like below.</div><div><br></div><div>  <md:AssertionConsumerService Location="/SSOServiceProvider/SSO" index="0" isDefault="true"</div><div>      Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"/></div><div><br></div><div><br></div><div>Thanks in advance.</div></div>