title: oauth2: Request a session
body: <p>By using Python requests module, I am trying to login Linuxacademy. 
  With developers tools help I'am almost managed to get payload information and URL I should use but while trying to login with </p>
  
  <pre><code>r =requests.post('https://lacausers.auth0.com/usernamepassword/login',params=payload)
  </code></pre>
  
  <p>Payload contains sensitive information but fields as below </p>
  
  <pre><code>client_id":     
  "redirect_uri": 
  tenant":        
  connection":    
  username":      
  password":      
  nonce":         
  state":         
  _intstate":     
  _csrf":         
  audience":      
  auth0Client":   
  scope":         
  protocol":      
  </code></pre>
  
  <p>I am getting below error </p>
  
  <pre><code>{"name":"ValidationError","code":"session_missing","description":"Session missing. Close all open login dialogs and try again.","statusCode":400}
  </code></pre>
  
  <p>I have closed all open login dialogs as mentioned and I logout from existing browser logins. And I am getting same error. </p>
  
  <p>Seems LA using "oauth2" for authentication. </p>
  
  <p>What I am trying to achieve is, I am trying to start my labservers via python - requests. </p>
  
  <p>Thanks in advance. </p>