title: Oauth service for LDAP authentication
body: <p>We have a scenario where we have to authenticate the user with LDAP server</p>
  
  <p>Flow 1:</p>
  
  <pre><code>client --&gt; application server --&gt; LDAP server
  </code></pre>
  
  <p>In above flow the client enters LDAP credentials which comes to application server and then using python-ldap we can authenticate the user, straight forward. Since the user LDAP credentials comes to application server an organisation may not be willing for such flow for obvious reasons.</p>
  
  <p>Flow 2:</p>
  
  <pre><code>client --&gt; oauth2 --&gt; LDAP server
  </code></pre>
  
  <p>Oauth scenario suites best here, since authentication of the user is responsibility of the oauth and application server do not need to know the user credentials.</p>
  
  <p>Have anyone encountered such case, if yes, how you tackled it?
  Is there are any Oauth client for LDAP free and paid ?</p>