title: Cross Domain HTTP POST — Single Sign On
body: <p>I've been trying to find out a solution to my problem for a couple of days.</p>
  
  <p>Searching out gave me many options, none of them I could adapt to my scenario.</p>
  
  <p>I have a web application (C# ASP.NET) which have to post some data to another application, in another domain, working as a SSO. (HTTP POST to another domain with SSL with redirection)</p>
  
  <p>The application on the other domain is expecting a post with some data in plain text on JSON format, to then redirect the user to another page.  </p>
  
  <p>I can't use form submit, because it send the form itself to the application, not only my data, so it can't read the data I'm sending.</p>
  
  <p>XMLHttpRequest did work, but then, as an ajax call, it doesn't redirect the user, and I can't get back the Location header from the response.</p>
  
  <p>I don't have control over the other application, and I'm allowed to use only our libraries, so JQuery is not an option.</p>
  
  <p>Does anyone knows how can I achieve this? Server side or client side.</p>