title: SAML Response not found
body: <p>I've successfully implemented SAML in my application on my local machine (127.0.0.1). I initially used PHP-SAML from OneLogin as my intro to SAML, but tweaked my code to work with Okta as the IDP and my app as the SP. Everything works fine in my local tests. However, when moving the code to my VM, I get the following error:</p>
  
  <blockquote>
    <p>SAML Response not found, Only supported HTTP_POST Binding</p>
  </blockquote>
  
  <p>I used the SAML Tracer extension in Firefox, and SAML Message Decoder in Chrome, which shows that I'm getting a response, but the GET and POST superglobals are both empty. The HTTP headers from SAML Tracer shows there's a redirect, hence the:</p>
  
  <blockquote>
    <p>302 Found</p>
  </blockquote>
  
  <p>Here are screenshots of the SAML response from Tracer:</p>
  
  <p><a href="https://i.stack.imgur.com/JBiBj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JBiBj.png" alt="Tracer 1"></a></p>
  
  <p>I'm not sure where to go from here. The POST global on my VM is completely empty and the GET global has an <code>acs</code> parameter with an empty string as its value; yet the POST global on my local machine has the <code>SAMLResponse</code> and <code>RelayState</code> and an empty string as its <code>$_GET['acs']</code>.</p>