Windows Desktop Application

I want to build a Windows Desktop Application and authenticate with Okta IDP. My application is written in golang or C# (using Visual Studio 2019). For golang, I looked at samples-golang examples, all samples require user to go to the browser (i.e. localhost:8000/8180). I would like to collect username and password from my own UI and using okta golang SDK to authenticate the user. Is this a possibility in Windows 10 ? what I like to accomplish is identical to this IOS custom-sign-in sample: samples-ios/custom-sign-in at master · okta/samples-ios · GitHub. For C#, I didn’t find any simple examples (without dotnet) in Any recommendations, would be helpful.