To implement Windows Live ID, you must register your Web site with Microsoft® as an application and receive an application ID for use with the service. Only a person who has a valid Windows Live ID can register an application and obtain an application ID. After you create the application, you can sign in and change it whenever you want.
Note: |
|---|
|
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.
|
Important: |
|---|
|
The Web Authentication application 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.
|

Registering Your Application
The Azure Services Developer Portal assists you with the registration process, issues your application ID to you, and provides a place where you can continue to manage all the applications you register.
To get your application ID
-
Go to the Azure Services Developer Portal.
-
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. After that, the Create a new service component page appears.
-
If you have been to the site before, your My Projects page appears. You can click the New Project link there to create a new project. The Create a new service component page appears.
-
Click Live Services: Existing APIs.
-
Provide the following information in the form on the Create a Project page.
|
Item
|
Description
|
|---|
|
Project Label
|
A unique and friendly name that you use to refer to your application. We recommend that you specify a human-readable name.
Important:
The project label that you specify should contain only alphanumeric characters and cannot be changed after registration is complete.
|
|
Project Description
|
A description of the project. You can change this description at any time.
|
|
Domain
|
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.
Important:
If you are using only Web Authentication, ignore this field. To function correctly, Web Authentication requires that you leave the Domain field empty.
This restriction does not apply if you are using Web Authentication in conjunction with Delegated Authentication. For more information about Delegated Authentication, see the Windows Live ID Delegated Authentication SDK for Application Providers.
|
|
Return URL
|
The return URL is the URL of the page on your Web site to which the Windows Live ID authentication service redirects users (along with the authentication token) after they have successfully signed in, signed out, or cleared their cookies.
You must create a page on your site corresponding to the return URL, to handle the response from the authentication service. For more information, see Handling the Response from the Service.
You can change the return URL later when you extend and adapt the sample code to your Web site.
Important:
If your return URL or other site pages use Secure Sockets Layer (SSL), use "https" in the src attribute for the sign-in link. For more information, see Displaying the Sign-in Link.
The return URL must be a fully qualified Domain Name System (DNS) URL pointing to a page on your Web site, and it must not contain IP addresses or query-string parameters.
|
-
Click Create. After your project is created, the Summary page appears. This page contains the following information about your site:
-
Application ID. A 16-character string that represents your application. Record this string for later use.
-
Domain(s). The domains associated with your application.
-
Return URL. The return URL you specified for your application.
-
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 application ID.
Registration is finished! You can now begin implementing Web Authentication.
Whenever you want to retrieve or change your application data, return to the Azure Services Developer Portal. Sign in with the Windows Live ID account that you used during registration to see and manage your application projects.