Bogdan Gavril MSFT
Bogdan Gavril MSFT

Reputation: 21458

Windows Authentication mode - how to make it not ask for credentials?

I have configured my ASP.NET website to use windows auth (and disabled annon auth), and setup some authorization rules. The website is deployed on the Intranet and all users have a windows identity.

When a user navigates to the website, the typical "Windows Security" window pops up, asking the user for his identity. I want to disable this, since the user is already logged in with a domain account. The browser should submit the current identity and IIS can use this to auth.

Any ideas?

Note: I am using IE and the Enable Integrated Windows Authentication is checked

Upvotes: 0

Views: 1125

Answers (2)

PhilPursglove
PhilPursglove

Reputation: 12589

Where I've seen this symptom happening before, I've had to add the URL the website is on explicitly into the Local Intranet zone in IE.

Upvotes: 1

Dante
Dante

Reputation: 3891

In which browser is this happening? Internet Explorer has an option that explicitly defines whether the browser tries to authenticate users automatically.

You can find it in Tools - Internet Options - Advanced - Enable Integrated Windows Authentication.

Upvotes: 1

Related Questions