From 0386773ac51408c71de85012879f341541e5a069 Mon Sep 17 00:00:00 2001
From: Andrew Arnott
Date: Sun, 6 Apr 2008 19:56:36 -0700
Subject: [PATCH] Unsolicited assertion successfully sent if RP login page is
given by user.
We still need to add RP discovery to this so that the realm URL can be given by the user rather than the full login page.
---
samples/ProviderPortal/Default.aspx | 35 +++++++++++++++++--
samples/RelyingPartyPortal/Default.aspx | 1 +
src/DotNetOpenId/Provider/AssertionMessage.cs | 19 ++++++++++
src/DotNetOpenId/Provider/OpenIdProvider.cs | 14 ++++++--
src/DotNetOpenId/Realm.cs | 4 +++
5 files changed, 68 insertions(+), 5 deletions(-)
diff --git a/samples/ProviderPortal/Default.aspx b/samples/ProviderPortal/Default.aspx
index 86629e6f5e..17d3f50d4a 100644
--- a/samples/ProviderPortal/Default.aspx
+++ b/samples/ProviderPortal/Default.aspx
@@ -1,7 +1,19 @@
<%@ Page Language="C#" AutoEventWireup="true" %>
-<%@ Register Assembly="DotNetOpenId" Namespace="DotNetOpenId" TagPrefix="openid" %>
+<%@ Import Namespace="DotNetOpenId.Provider" %>
+<%@ Register Assembly="DotNetOpenId" Namespace="DotNetOpenId" TagPrefix="openid" %>
+
+
+
@@ -16,9 +28,26 @@
Provided by DotNetOpenId
- Welcome. This site doesn't do anything more than simple authentication of
- users. Start the authentication process on the Relying Party sample site.
+ Welcome. This site doesn't do anything more than simple authentication of users.
+ Start the authentication process on the Relying Party sample site, or log in here
+ and send an unsolicited assertion.
+
+
+
+ Since you're logged in, try sending an unsolicited assertion to an OpenID 2.0 relying
+ party site. Just type in the URL to the site's home page. This could be the sample
+ relying party web site.
+
+
+
+
+
+ An unsolicited assertion is a way to log in to a relying party site directly from
+ your OpenID Provider.
+
+
+
diff --git a/samples/RelyingPartyPortal/Default.aspx b/samples/RelyingPartyPortal/Default.aspx
index 47f26e963a..b303c120e0 100644
--- a/samples/RelyingPartyPortal/Default.aspx
+++ b/samples/RelyingPartyPortal/Default.aspx
@@ -20,6 +20,7 @@
area. (This will trigger a login demo).
+