Getting Your Client ID for Web Authentication

This topic describes functionality that will be obsolete. This functionality is provided only to support legacy applications. Live Connect incorporates features that provide equivalent functionality.

To implement Windows Live ID, you must register your Web site with Microsoft® as an application and receive a client ID for use with the service. Only a person who has a valid Windows Live ID can register an application and obtain a client ID. After you create the application, you can sign in and change it whenever you want.

You do not need to register to run the QuickStart samples, but you must register before you can extend the samples for use on your live Web site.
The Web Authentication client ID is 64 bits (or 8 bytes or 16 hexadecimal digits) long. The User ID is 128 bits (or 16 bytes or 32 hexadecimal digits) long.

The Windows Live application management site assists you with the registration process, issues your client ID to you, and provides a place where you can continue to manage all the applications you register.

To get your client ID

  1. Go to the Windows Live application management site.
  2. Sign in by using your Windows Live ID.
    If this is your first visit to this site, you will see several pages that configure your Windows Live ID for use with the site.
  3. Click Add an application.
  4. Provide the following information in the form on the Connect your application to Windows Live page.

    Item Description

    Application name

    A unique and friendly name that you use to refer to your application. We recommend that you specify a human-readable name.

    The name that you specify should contain only alphanumeric characters and cannot be changed after registration is complete.

    Application type

    For Web Authentication, you will select the Web application radio button.For information about other application types, see Windows Live Messenger Connect.


    The domain name of your application. For most applications, this domain name must be a fully qualified Domain Name System (DNS) name that is unique to your application.

  5. Click I accept. After your application has been created, the Summary page appears. This page contains the following information about your site:
    • Client ID. A 16-character string that represents your application. Record this string for later use.
    • Secret key. A security key that Windows Live ID uses to encrypt and sign all tokens that it sends to your site. You should record this key, but we recommend that you do not store it in the same location as its corresponding client ID.

To complete the integration of your application with Windows Live, you must specify additional settings and publish your application. Click the Essentials link under the box that displays your client ID and secret key.

Whenever you want to retrieve or change your application data, return to the Windows Live application management site. Sign in with the Windows Live ID account that you used during registration to see and manage your application projects.

Other Resources

Live Connect