Show ADFS Login page instead of Windows authentication pop up

I recently setup an ADFS website on a server and required the site to display the forms authentication page asking for log in credentials whenever the AD was accessed. But every time, I ended up getting the windows authentication pop up instead of the pop up.

 

After doing some research online, I found that ADFS website always tries to use Windows authentication before trying to use the forms authentication. If forms authentication is used, the log in page is shown.

To make the Forms authentication log in page show up instead of the pop up, follow the below steps:

  1. Open the physical path of the adfs/ls site. You can do this from IIS manager. Expand the site –> Right-click –> Explore.
  2. Open the web.config file and locate the <localAuthenticationTypes> tag. This section lists the order in which authentication takes place.
  3. Comment out all the items except Forms authentication. Alternatively, you can move the “Forms” key to the first of the list. This will make the site to use Forms authentication before Windows authentication.



  4. Save the web.config file. Try opening the site and the login page should show up as expected.

    Hope this helps!