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
2 answers

Custom IPrincipal together with WindowsAuthentication

Is there any good way of combining ASP.NET Windows Authentication with a custom IPrincipal/IIdentity object? I need to store the user's email address and have done so for Forms Authentication using a custom IIdentity/IPrincipal pair that I added to…
PHeiberg
  • 29,411
  • 6
  • 59
  • 81
5
votes
1 answer

Making Windows Authentication and WKHTMLToPDF play nice

I'm faced with the task of generating a PDF from an HTML page on an ASP.NET website. (Something the users can save away/print nicely) I've found that WKHTMLToPDF does the job very well having looked at this: Calling wkhtmltopdf to generate PDF from…
5
votes
3 answers

.NET Core 3.0 ClaimsTransformation

Previously in .NET Framework I used a custom RoleProvider alongside Windows Authentication to deliver custom roles against the current principal as opposed to using Active Directory groups. So, the goal is to be able to use the decorative…
5
votes
4 answers

Windows Authentication Headers without .NET. Possible?

I was wondering if anyone knew of a way to use Windows Authentication without hosting on an ASP site. It's an intranet w/ access to LDAP, so I'm wondering if there's a way to force the client to provide me the data as if it was coming from an ASP…
A Wizard Did It
  • 3,614
  • 4
  • 28
  • 32
5
votes
0 answers

Active Directory Authentication in Linux Docker Container in .NET Core 2.0

I am trying to use Active Directory to authenticate users in a .NET Core 2.0 Web API hosted in a Linux Docker container. When I run the app outside of Docker in Visual Studio 2017, I am able to use System.DirectoryServices (through…
5
votes
0 answers

How to log authentication or authorization events in ASP.NET Core 2.1?

On IIS my web application responds with 403 Forbidden. To troubleshoot the issue I'd like to log events of Windows Authentication. The setup in Startup.cs is as…
bascoder
  • 181
  • 2
  • 8
5
votes
0 answers

IIS and SQL Server Windows authentication in a django application

I am trying to run a django website which connects to a SQL Server, using IIS with Windows authentication. IIS server and SQL server are on different machines under the same domain i.e., iis_machine.example.com and sql_machine.example.com What I'm…
5
votes
1 answer

Python: Get Windows username of user viewing page?

Is there a way in Python/Django to get the username of the currently logged-in Windows user, from an app that is not running locally? UPDATE: sorry, to clarify, by this I mean the Windows username of the user viewing the web page, not the user…
AP257
  • 89,519
  • 86
  • 202
  • 261
5
votes
1 answer

Using Claims Transformation with Windows Authentication

Using Windows Authentication in an ASP.NET Core 2.1 application. In the database we have a User table that stores users along with their Sid. It has a 1-1 relationship with UserProfile which has information I want to use for Claims. I added a this…
Valuator
  • 3,262
  • 2
  • 29
  • 53
5
votes
0 answers

Implementation of Custom Windows Authentication Package

I have been working on implementing custom authentication package for windows 10. After reading the following documentation of Windows…
5
votes
1 answer

Windows Authentication in .net Core 2.1 application

I've got a .net Core 2.1 MVC application that hosts an Angular 6 application. I am using Visual Studio 2017 15.7.3. I'm trying to set up Windows Authentication but am having issues. I've followed the documentation and my Program.cs and Startup.cs…
LanceM
  • 1,888
  • 4
  • 23
  • 41
5
votes
2 answers

identity server 4 windows authentication

I have followed a combination of these three resources for getting started with Identity Server 4. IdentityServer4.Quickstart.UI 4_ImplicitFlowAuthenticationWithExternal Combined_AspNetIdentity_and_EntityFrameworkStorage The combination of the…
5
votes
1 answer

.NET Core and IIS Intermittent 403 Access Denied

Alright Stackoverflow, after much fruitless research I've ended up here! I am attempting to get a .NET Core 2.0 site hosted out of IIS with Windows Authentication and SSL, and no matter what I try I continue to get inconsistent/intermittent 403…
Graum
  • 71
  • 1
  • 4
5
votes
1 answer

How does NTLM SSO in a Windows Domain works?

I made a proof of concept for single-sign-on in TypeScript using NodeSSPI. This works, I get the username where I'm logged in on our corporate AD domain - without entering any account information or credentials. But I want to know how this is…
user6643481
5
votes
1 answer

Login in Angular App using windows Authentication

I have created an angular 2 application. Now, these are the requirements for windows authentication. 1) If any user within the organization access this application, he should not get the login prompt and should be able to login directly into the…