Currently, my UWP business application is authenticated using an AD username and password from users who are usually the same as the Windows user. I need to remove this requirement and allow the user to log in directly to the application based on the current Windows user. I searched a lot and found it for WebSites, but not for the application. I am using the following client:
var filter = new HttpBaseProtocolFilter(); Windows.Web.Http.HttpClient client = new Windows.Web.Http.HttpClient(filter); client.GetAsync(url);
Is there any resource with which you can perform one-time Windows authentication in a UWP application?
Edit:
Some solution is an Azure-specific directory, but in my case it may not always be an Azure directory, but it can be an Enterprise Active Directory with domain credentials (ADFS), and a user using a UWP application will use the same credentials for logging in as the credentials for logging in to Windows. So, I was looking for a solution in which current Windows users can log in without re-entering credentials. It may look like a Chrome / IE browser that automatically registers on intranet sites.
source share