title: Calling WIF (SAML) secured WCF REST service from Javascript (jQuery)
body: <p>I'm beginning to have doubts as to if this is possible but I'm hoping that someone out there has a deeper understanding of the mechanics than I do. </p>
  
  <p>We are planning to host a pure javascript form in a SharePoint site that is secured using ADFS. This form needs to make calls to a WCF REST service. We want to be able to use the same FedAuth cookie / SAML token issued to the user from ADFS in the WCF service for authentication but so far I have not really found a way to pass it using javascript.</p>
  
  <p>So to break it down, how do you call a WIF / SAML secured WCF REST service from javascript?</p>