summaryrefslogtreecommitdiffstats
path: root/samples/OAuthClient/WindowsLive.aspx
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthClient/WindowsLive.aspx')
-rw-r--r--samples/OAuthClient/WindowsLive.aspx29
1 files changed, 29 insertions, 0 deletions
diff --git a/samples/OAuthClient/WindowsLive.aspx b/samples/OAuthClient/WindowsLive.aspx
new file mode 100644
index 0000000..5b8c8d4
--- /dev/null
+++ b/samples/OAuthClient/WindowsLive.aspx
@@ -0,0 +1,29 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WindowsLive.aspx.cs" Inherits="OAuthClient.WindowsLive" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+ <title></title>
+</head>
+<body>
+ <form id="form1" runat="server">
+ <asp:Panel runat="server" ID="localhostDoesNotWorkPanel" Visible="False">
+ <p>
+ Windows Live requires a public domain (not localhost) that matches the registered
+ client app's callback URL. You can either host this sample on a public URL and register
+ your own client, or you can modify your "%windows%\system32\drivers\etc\hosts" file
+ to temporarily add this entry:
+ </p>
+ <pre>127.0.0.1 samples.dotnetopenauth.net</pre>
+ <p>
+ Then access this sample via this url:
+ <asp:HyperLink ID="publicLink" NavigateUrl="http://samples.dotnetopenauth.net:59721/WindowsLive.aspx"
+ runat="server">http://samples.dotnetopenauth.net:59721/WindowsLive.aspx</asp:HyperLink></p>
+ </asp:Panel>
+ <div>
+ Welcome,
+ <asp:Label Text="[name]" ID="nameLabel" runat="server" />
+ </div>
+ </form>
+</body>
+</html>