Show ADFS Login Page Instead of Windows Authentication Pop Up





5.00/5 (1 vote)
This tip explains how to display forms authentication login page when using Active directory login instead of the general Windows authentication login pop up.
Introduction
I recently set up 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.
Display Forms Authentication Login Page
After doing some research online, I found that the 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:
- Open the physical path of the adfs/ls site. You can do this from IIS manager. Expand the site –> Right-click –> Explore.
- Open the web.config file and locate the
<localAuthenticationTypes>
tag. This section lists the order in which authentication takes place. - 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 useForms
authentication before Windows authentication. - Save the web.config file. Try opening the site and the login page should show up as expected.
Hope this helps!