Questions tagged [windows-authentication]

Integrated Windows Authentication is a term associated with Microsoft products that refers to the SPNEGO, Kerberos, and NTLM authentication protocols. Use tag with Windows authentication generally; though it might be best to use one of the more protocol-specific tags (such as Kerberos or NTLM) if the protocol being used is known.

Integrated Windows Authentication () is a term associated with Microsoft products that refers to the , , and authentication protocols with respect to functionality introduced with Microsoft Windows 2000 and included with later Windows NT-based operating systems. The term is used more commonly for the automatically authenticated connections between Microsoft Internet Information Services (), , and other aware applications.

IWA is also known by several names like HTTP Negotiate authentication, NT Authentication, NTLM Authentication, Domain authentication, Windows Integrated Authentication, Windows NT Challenge/Response authentication, or simply Windows Authentication.

Source: http://en.wikipedia.org/wiki/Integrated_Windows_Authentication

3028 questions
5
votes
0 answers

WebApi: Token-Based-Windows-Authentication

Is there any way to user both Token based authentication and Windows authentication in a web api application? We have a "standard" web-api-application using token based (bearer) authentication. The OAuth-Configuration looks like this: OAuthOptions =…
Tobias
  • 2,945
  • 5
  • 41
  • 59
5
votes
1 answer

Authenticate Windows User in Electron App?

I’m working on an app that will be deployed to a fleet of corporate Windows laptops that are bound to Active Directory. Part of the app would need to allow the user to access the company's intranet URL. Would it be at all to automatically…
ChickensDontClap
  • 1,871
  • 4
  • 22
  • 39
5
votes
1 answer

Owin Self-Host WebApi Windows Authentication and Anonymous

I have a self-hosted Owin WebAPI. I want to protect a few routes with authentication. The majority of the routes should be accessible anonymously. I have succesfully implemented Windows-Auth, but now I get 401 - Unauthorized when trying to access…
Kai
  • 135
  • 2
  • 7
5
votes
1 answer

hosting WCF service in IIS with windows authentication and without anonymous access

I would like to use WCF service hosted in IIS (5/6) with integrated windows authentication enabled and anonymous access disabled. I tried to do this by following http://msdn.microsoft.com/en-us/library/ff648431.aspx, but getting an error saying…
RKP
  • 5,285
  • 22
  • 70
  • 111
5
votes
0 answers

clear http authentication cache from Chrome

I am sure this is not a new issue I am facing, but couldn't find any resolution yet.So, we have a ng2 app which uses Windows Authentication. It is implemented using Waffle libraries with Jersey RESTful service. We are implementing logout…
5
votes
1 answer

Node in Corporative Environment with NODESSPI

I developed a NODE API to serve data to Angular app. The original idea is to use NODESSPI for integrated authentication as we plan to run this on a corporative environment. CORS will be needed as the API Node will be hosted on a different…
5
votes
1 answer

Kerberos: kinit on Windows 8.1 leads to empty ticket cache

I installed Kerberos for Windows on a new set-up Windows 8.1 machine. Domain: not set Workgroup: WORKGROUP I edited the krb5.ini file in C:\ProgramData\MIT\Kerberos5 directory like this: [libdefaults] default_realm =…
D. Müller
  • 3,336
  • 4
  • 36
  • 84
5
votes
1 answer

Windows Authentication doesn't work in Microsoft Edge browser for Angular 2 application

In my Angular 2 project the client calls a Web API method, which requires that the user is authorized using the Windows Authentication. This call works fine in Internet Explorer 11, Firefox and Chrome but not in the Microsoft Edge, which doesn't…
5
votes
2 answers

How to authenticate users on one site and pass credentials to other site? ( Windows Authentication, ASP.Net)

We have multiple web-applications running Windows authentication.Users log on to the websites using Domain\Username which is different from the DomainOther\UsernameOther that they use on their local computers. Considering we have 2 sites One.xyz.com…
SharePoint Newbie
  • 5,974
  • 12
  • 62
  • 103
5
votes
2 answers

Where can I load the user information to the session in ASP.NET MVC 5 with windows authentication?

I want to use the ASP.NET MVC 5 for my web app. I need use the windows authentication. If I use the windows authentication where is the best place for reading user information (userid and roles) and store its to the Session? I have the method for…
Jenan
  • 3,408
  • 13
  • 62
  • 105
5
votes
3 answers

How get Current Username and password from windows operating System.

Story: I have a motherboard CD provided by Intel's original motherboard. When I install drivers it asks for username and password of the administrator account. After every driver installs, the system will be restart and doesn't ask for the username…
Kumara
  • 61
  • 1
  • 1
  • 3
5
votes
1 answer

asp.net 5 and IdentityServer4

I am working on a prototype for a site re-architecture using ASP.NET 5 and I am debating using IdentityServer4 for my Authentication and Authorization. I have reviewed a lot of samples and articles about setting up IdentityServer3 and 4 and I am…
5
votes
1 answer

Hooking into Windows Authentication for credentials when Authenticating against LDAP

I have a web-portal for employees to update their details. People login there with their Active Directory credentials and I set OWIN cookie for authentication. This is all done through a MVC login page, nothing to do with Windows Authentication on…
trailmax
  • 34,305
  • 22
  • 140
  • 234
5
votes
1 answer

Windows authentication not working when deployed MVC site

I have configured my MVC site to use windows authentication in the project properties and in the config file: When I run the code on my machine everything works fine but when I deploy the site to IIS i get an error…
Denys Wessels
  • 16,829
  • 14
  • 80
  • 120
5
votes
2 answers

Custom IPrincipal Not Accessible in MVC5

I've read a lot of questions and answers on this topic, but none of them have helped me solve this issue. The problem I'm having is that the HttpContext.Current.User or just User property is of type RolePrincipal instead of my custom principal. This…
JNYRanger
  • 6,829
  • 12
  • 53
  • 81