11 January 2010

Auto Login in Firefox

Here's the setup: I'm building a web application that's only accessed by users within a Windows network. The application authenticates the users by their Windows logins and to make things interesting, the users prefer Firefox.

If they used IE, the browser would automatically send the user credentials to the web server (the same credentials used to log in to the Windows domain in the first place). Firefox, on the other hand, will ask the user to re-enter their username and password. A small annoyance but annoying just the same.

Well, there's a way to avoid it. Go to about:config (type that into the address bar), look for a setting called network.automatic-ntlm-auth.trusted-uris and add the URL of the application as the value. Problem solved!

It's not a novel solution – in fact it's described on a number of different websites. I happened to find it on Stack Overflow.

No comments: