WPF Application With Live ID, Facebook, Google, Yahoo!, Open ID

WPF Application With Live ID, Facebook, Google, Yahoo!, Open ID

Back to Windows Azure Active Directory Solutions For Developers 


Scenario

In this scenario you are developing WPF application that consumes RESTful WCF service. You need to integrate Internet Identity Providers (IdP's) such as Live ID, Facebook, Google, Yahoo! and Open ID 2.0 identity providers for authentication purposes.


  • WPF application with WCF (REST) service as its back end.
  • Internet Identity Providers (IdP's) such as Live ID, Facebook, Google, Yahoo!, Open ID 2.0

Solution Approach

WPF's WebBrowser control and ACS used to solve this scenario.  


  • WPF application hosts WebBrowser control that displayes IdP's and also perform actual sign in dance resulting in receiving SWT token from ACS upon successful authentication.
  • The SWT token handed to the WPF application from the hosted WebBrowser control.
  • The SWT token sent to the WCF (REST) service.
  • The WCF (REST) service validates and parses the token.

Analysis

Internet Identity providers are optimized for web applications vs. web services. This is the reason why WebBrowser control is used in this scenario to accomplish the redirects required for sign in process.

How To's

Code Samples

Resources

Sort by: Published Date | Most Recent | Most Useful
Comments
  • Maheshkumar S Tiwari edited Revision 9. Comment: Added tags

  • Maheshkumar S Tiwari edited Revision 10. Comment: Added tags

Page 1 of 1 (2 items)