Open Tratcher opened 6 years ago
Hi @Tratcher, i followed this from https://github.com/aspnet/Security/issues/1653 Do you know if there's a working sample for this?
Kind regards,
Dave
Are you looking for something that's not covered here: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-2.1?
Are you looking for something that's not covered here: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-2.1?
Yes. I am looking to authenticate with windows authentication but using the forms provided for anonymous authentication. I want to be able to control how a user logs into the app even if it's windows authentication.
I am looking to authenticate with windows authentication but using the forms provided for anonymous authentication.
Do you mean you want them to enter their username and password into your own login form? That's not a flow we support, nor should you, it's much weaker than client based windows auth.
Thanks Steve,
What I want is to use my form instead of the pop up that comes up at the moment which I have no control over.
I'll like to control the login/logout sessions as users are accessing a pc.
Plan is to write a well commented mixed auth sample and add it to the docs samples
@Rick-Anderson in terms of process/PR where should a new mixed auth sample go? Would it be a new app in https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/common/samples ?
@Rick-Anderson in terms of process/PR where should a new mixed auth sample go? Would it be a new app in https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/common/samples ?
https://github.com/dotnet/AspNetCore.Docs.Samples/tree/main/common
Windows Auth only (IIS Express vs httpsys) Windows Auth + impersonation Windows Auth + anonymous + cors
Mixed auth: Windows Auth + anonymous Windows Auth + bearer for different endpoints or the same endpoint Windows Auth + remote/cookie auth with selection page or automatic selection