<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
<TT>LS,</TT><BR>
<BR>
<BR>
<TT>&nbsp;&nbsp; I have a question about authenticating and verifying with OpenID</TT><BR>
<TT>&nbsp; but before i can ask my question i need to give a little background</TT><BR>
<TT>&nbsp; information.</TT><BR>
<BR>
<TT>&nbsp; We are currently building a centralised IDM/SSO solution which acts</TT><BR>
<TT>&nbsp; like a central store with profiles and handles authentication, it</TT><BR>
<TT>&nbsp; allows for traditional authentication as well as OpenID.</TT><BR>
<BR>
<TT>&nbsp; The central server usually requires some form of authentication</TT><BR>
<TT>&nbsp; before it can read or update a profile. Client websites simply use</TT><BR>
<TT>&nbsp; our API to authenticate and perform profile operations such as</TT><BR>
<TT>&nbsp; login, update or retrieve an active (SSO) profile to allow users to</TT><BR>
<TT>&nbsp; browse through all websites while still being logged in.</TT><BR>
<BR>
<TT>&nbsp; This all works very nice, but there is a little problem using</TT><BR>
<TT>&nbsp; OpenID.</TT><BR>
<BR>
<TT>&nbsp; I have implemented the authentication part of OpenID in the client,</TT><BR>
<TT>&nbsp; to allow redirection to your site or any other OpenID service</TT><BR>
<TT>&nbsp; provider.</TT><BR>
<BR>
<TT>&nbsp; After the redirection returns to the client website, it will pass</TT><BR>
<TT>&nbsp; the received HTTP GET parameters to the centralised IDM/SSO server</TT><BR>
<TT>&nbsp; which will then validate the authentication, this must be done at</TT><BR>
<TT>&nbsp; the server for i have no other alternative to actually identify an</TT><BR>
<TT>&nbsp; authentication otherwise.</TT><BR>
<BR>
<TT>&nbsp; The problem now is that it </TT><TT>__</TT><TT>sometim</TT><TT>es___</TT><TT> fails due to unknown reasons.</TT><BR>
<TT>&nbsp; It just says it cannot authenticate. Can you give me some advice?</TT><BR>
<BR>
<TT>&nbsp; To clarify, here is a simple overview of the flow:</TT><BR>
<BR>
<TT>&nbsp; 1) user-agent fills in OpenID URI at client site;</TT><BR>
<TT>&nbsp; 2) client site redirects to OpenID service provider;</TT><BR>
<TT>&nbsp; 3) service provider redirects back to client site;</TT><BR>
<TT>&nbsp; 4) client site collects HTTP query string parameters returned by the OpenID service provider;</TT><BR>
<TT>&nbsp; 5) client site calls central server and passes these parameters;</TT><BR>
<TT>&nbsp; 6) central server attempts to finalize the authentication by validating it and returns</TT><BR>
<TT>&nbsp; the profile or passes an exception.</TT><BR>
<BR>
<TT>&nbsp; Please note, client site can be any host and on any domain. The</TT><BR>
<TT>&nbsp; central server always resides on its own host or domain.</TT><BR>
<BR>
<TT>&nbsp; Would it be helpful to add the central server to the trust roots?</TT><BR>
<BR>
<TT>&nbsp; I patiently await your response.</TT><BR>
<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-  
Markus Jelsma&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Buyways B.V.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Technisch Architect&nbsp;&nbsp;&nbsp; Friesestraatweg 215c&nbsp;&nbsp;&nbsp; 
<A HREF="http://www.buyways.nl">http://www.buyways.nl</A>&nbsp; 9743 AD Groningen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 


Alg. 050-853 6600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KvK&nbsp; 01074105
Tel. 050-853 6620&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax. 050-3118124
Mob. 06-5025 8350&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In: <A HREF="http://www.linkedin.com/in/markus17/">http://www.linkedin.com/in/markus17/</A>
</PRE>
</TD>
</TR>
</TABLE>
<BR>
</BODY>
</HTML>