Windows Dev Center

How to set up single sign-on for online providers (Windows Store apps using C#/VB/C++ and XAML)

Online providers need to follow these steps to use single sign-on (SSO) mode.

What you need to know



  • You should be familiar with C#, C++, or Visual Basic programming concepts.


Step 1: Allow "ms-app://" scheme to be registered by the app as its redirect URI.

Step 2: At run time, allow the app to use a redirect URI only if it has been registered.

If the URI hasn't been registered, don't allow the redirection. For example, in the OAuth 2.0 protocol, the value of the redirect_uri parameter must be within the set of URIs registered by the app.

Step 3: Use the protocol flows that don't require a secret.

Recommended but optional—Use the protocol flows that don't require a secret, for example, implicit grants of the OAuth 2.0 protocol.

Related topics

FAQ for Web Authentication Broker
Getting started guidance for online providers integrating with the web authentication broker APIs
Troubleshooting web authentication problems



Build date: 10/15/2012

© 2015 Microsoft