Firefox auto login with Windows Authentication and AD

When creating intranet websites, Windows Authentication will take care of all your user identification needs. Both Internet Explorer and Chrome will automatically pass your NTLM (Active Directory) user credentials to the server, but Firefox will not and instead presents the user with an ugly login prompt. Fortunately it’s quite easy to enable this in Firefox with a simple configuration change.

Go to the address bar, and enter the following:

about:config

You will be prompted with a warning, so just confirm that “I’ll be careful, I promise!”. Now go to the filter bar, and enter this string:

network.automatic-ntlm-auth.trusted-uris

Double-click this value and add the domain of your intranet website, ex. “michelsen.dk”:

Add intranet domain to the NTLM trusted list

You can add multiple domains to this list by separating them with a comma. Now you should be automatically logged in when you browse to your intranet website – given of course that you actually have permission ;-)