We are trying to make an internal application with .Net Core 5 MVC. Due to the application is internal, we want to make logins with Windows authentication.
We tried to follow microsoft link. We can get the user as domain/user with WindowsIdentity.GetCurrent().Name. But we want to define couple domain/user s and let only them to use the app. Can we somehow add a policy to startup.cs to define those users?