title: Ajax File Explorer: Avoid login popup (SSO)
body: <p>We want to integrate "AFE (Ajax File Explorer) into our Drupal application. Our users are authenticated in Drupal and it is not possible for us to ask a second time there login/pwd while opening AFE.</p>
  
  <p>We received a first answer from ITHIT:</p>
  
  <blockquote>
    <p>Here is how to set login and password:</p>
    
    <p>ajaxFileBrowser.GetSession().SetCredentials('User1', 'pwd'); </p>
    
    <p>Please note that this API sets password in XHR. Setting login and
    password in XHR does not provide any feedback on weather the login was
    successful. That is why in general I would suggest to rely on web
    browser login dialog which is displayed automatically instead of
    calling SetCredentials.</p>
  </blockquote>
  
  <p>However it is not clear if it is a real and robust SSO solution. We discovered that Drupal has an webdav SSO module (<a href="https://github.com/Awnage/webdavsso" rel="nofollow">https://github.com/Awnage/webdavsso</a>), we will also investigate that part. But any comment/help welcomed.</p>