title: How to generate request to the ADFS, get session and authenticate user on Django server?
body: <p>I'm configure Web SSO authentication by using ADFS on <a href="https://technet.microsoft.com/en-us/library/dd378921(v=ws.10).aspx" rel="nofollow">this</a> guide. Му back-end developed using Django. How to generate Django request for user authentication? As I understand request looks like this.:</p>
  
  <p><em>decoded:</em> adfsresource.treyresearch.net/adfs/ls/auth/integrated/?wa=wsignin1.0&amp;<strong>wreply</strong>=<a href="https://adfsweb.treyresearch.net/claimapp/&amp;" rel="nofollow">https://adfsweb.treyresearch.net/claimapp/&amp;</a><strong>wct</strong>=2016-07-27T14:58:30Z&amp;<strong>wctx</strong>=5f64b4e7-8907-47df-9526-5450b4ce0660</p>
  
  <p>How generate <strong>wctx</strong> on django?
  I'm found:</p>
  
  <blockquote>
    <p>Wctx: This is some session data that the application wants sent back
    to it after the user authenticates. How generate <strong>wctx</strong> on django</p>
  </blockquote>
  
  <p>What protocols using in this process (to adfs and back)?</p>
  
  <p>ADFS 1.1, django 1.9.7, firefox</p>
  
  <p>Thanks</p>