(My apologies, this is a re-post, I just found salesforce.stackexchange)
I am the Service Provider. Also, a shout-out to this open source C# component (AspNetSaml), they made life a bit easier: https://github.com/jitbit/AspNetSaml
Anyhow, when I send a request to the IdP (in this case SalesForce), I am providing an ACS URL and I can see that it is set here in my xml:
xw.WriteAttributeString("ProtocolBinding", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"); xw.WriteAttributeString("AssertionConsumerServiceURL", _assertionConsumerServiceUrl);
(_assertionConsumerServiceUrl is what I really want it to redirect to, and I can see that it's set)
But what happens with Salesforce is that it always uses the ACS URL I was required to set when creating the Connected App:
I have my real ACS URL value blanked out, but that value is what it is always re-directed to.
There has to be a way. Imagine if instead of redirecting to http://www.foo.com/, you wanted to instead redirect to: http://www.foo.com/?SomeValue=???? ... where ???? can be all different values. I mean, if the user typed in http://www.foo.com/?SomeValue=1234, and it redirected to Salesforce just to sign-in, I'd like to be able to continue with SomeValue=1234, as that's what the original user intended to do (as opposed to going to static www.foo.com every time).
This has to be possible! Thanks!