<div dir="ltr"><div><div><div><div>Scott, <br><br></div>Thank you for your answers. I am quite new to this so it takes me time to understand your answers, but eventually they happen to be very helpful. Really appreciate. <br><br></div>> It's produced by the SP when it creates its request.<br><br></div>Thanks to this piece of advice I realized that I can specify ACS URL in the SP. I still have some issues trying to get everything to work, but at least I am moving in the correct direction.<br><br></div>Thanks<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 5, 2016 at 11:15 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> What I need to do, is to be able to control the url that is set as the action<br>
> attribute to the html form when using POST binding. In other words, the url<br>
> to which the saml authentication response is sent.<br>
<br>
</span>The SP aleady handles that automatically and if you try and interfere with that process, you will just break the login.<br>
<span class=""><br>
> I understand that this URL is read from SP's metadata (this would be in<br>
> AssertionConsumerService element's Location attribute).<br>
<br>
</span>No, it's not. It's produced by the SP when it creates its request. It's *validated* against the metadata by the IdP, but that's not your problem here, you can include any number of endpoints in the metadata so the IdP will be fine with any one of them.<br>
<span class=""><br>
> So I need be able<br>
> to tweak it depending on the host name of the IdP for each authentication request.<br>
<br>
</span>The ACS URL is derived from the *resource* being requested at the SP, because if you pick something else, it will simply loop and fail. If you want it to be different for different IdPs, then you need different resource URLs for which it will derive different ACS locations to use. You can forcibly control which ACS URL it uses, but ultimately that won't help you because it's just going to loop if the resource doesn't share a vhost with the ACS anyway.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>