Search code examples
c#authenticationwindows-live-id

Log in to desktop application by Windows Live ID


I want to create a login form for my desktop application that user can use Windows Live ID for that. I create an application in manage.dev.live.com and use Desktop Implementation section.

I use a WebBrowser control and navigate to a given address. but I don't know how to receive the token for user. If I have made a mistake please tell me how to fix that.


Solution

  • As of June 2011, Windows Live ID supports OAUTH 2.0 and should enable you to do that (read more about it). WPF code example can be found at https://github.com/liveservices/LiveSDK/tree/master/Samples/CSharpDesktop.