Single Sign-On with With WIndows Forms Application

balu raju 56 Reputation points
2022-06-30T15:05:31.767+00:00

I have a legacy Windows Forms application where users login to it using their Active Directory credential. Users logins to this application by entering their AD credential in a login Form Then the application takes the credential and pass it on to WCF Service to confirm. WCF Services confirms their identity by calling LogonUser windows function.

Now we want to implement Single Sign-On for this windows application with OpenID Connect.

is this possible?, if it is, could someone direct me to some links that I can refer to.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,639 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla (MSFT) 26,756 Reputation points
    2022-07-06T03:48:08.033+00:00

    Hello @balu raju , to enable SSO for Windows applications you need to implement MSAL Desktop and Acquire a token using Windows 10+ Web Account Manager.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it and complete the quality survey so that others in the community with similar questions can more easily find a rated solution.

    0 comments No comments