title: Authenticate username and password (Active Directory - Windows)
body: <p>I need to use windows authentication in an App built using Nodejs (Express) on back-end and Reactjs on Front-end and I found some tools for example:</p>
  
  <ol>
  <li><a href="https://www.npmjs.com/package/node-sspi" rel="nofollow noreferrer">https://www.npmjs.com/package/node-sspi</a></li>
  <li><a href="https://github.com/auth0/passport-windowsauth" rel="nofollow noreferrer">https://github.com/auth0/passport-windowsauth</a></li>
  <li><a href="https://www.npmjs.com/package/activedirectory" rel="nofollow noreferrer">https://www.npmjs.com/package/activedirectory</a></li>
  <li><a href="https://www.npmjs.com/package/passport-ldapauth" rel="nofollow noreferrer">https://www.npmjs.com/package/passport-ldapauth</a></li>
  <li><a href="https://www.npmjs.com/package/LDAP" rel="nofollow noreferrer">https://www.npmjs.com/package/LDAP</a></li>
  </ol>
  
  <p>I would like to know what is the better tool to use since I have to have a login page and validate the user and password to see if the user has access to a directory.</p>
  
  <p>If the user is not under a certain group want not to allow them to access the application.</p>
  
  <p>Thank you in advance!</p>