Testing intranet site that uses Windows authentication

raklos picture raklos · Jul 26, 2011 · Viewed 8k times · Source

I'm trying to develop an intranet app/website that uses Windows authentication.

I'd like to test it with multiple users, for roles etc.

At the moment I'm only using my own domain account. Is there a way I could simulate different users for the site?

Answer

Leniel Maccaferri picture Leniel Maccaferri · Oct 2, 2013

As a picture is worth a thousand words here it goes how to do it in IE based on 2GDev's comment copied here for clarity:

Go to Internet Options => Security => Local Intranet => Custom Level and change the User Authentication to "Prompt for username and password"

enter image description here

Click OK then Apply. Close the browser. Reopen it and point it to the website's URL you want to debug. You should happily see the login prompt where you can login with a different User account to simulate concurrency for example (this is what I'm doing right now here):

enter image description here