How to correctly implement Windows Authentication with Identity server 4? Are there any samples to do that?
I looked at the source code of IdentityServer 4 and in the H
There will be more documentation soon here:
https://identityserver4.readthedocs.io
But in short - yes from IdentityServer's point of view Windows authentication is an external provider (as opposed to the IS native authentication cookie).
There is nothing that YOU need to do to implement Windows authentication - just use a host that supports it.
That's either
In both cases you invoke the Windows machinery by challenging a scheme of either Negotiate or NTLM. This is not IS specific - but the way ASP.NET Core works.
Our quick start UI shows how to do that - check the AccountController.
https://github.com/IdentityServer/IdentityServer4.Quickstart.UI