No matching endpoint found after discovering..
Jonathan Daugherty
cygnus at janrain.com
Mon Feb 4 10:35:35 PST 2008
> Apparently the server didn't sent the endpoint correctly.
> "$request->answer(true);" doesn't seem to be enough in most cases and the
> endpoint (provider URL) must be sent explicit.
Hi Eddy,
The answer(true) call should return an Auth_OpenID_ServerError in the
case where you're responding to an OpenID 2 request AND you don't
specify an endpoint URL to answer() or when you construct the
Auth_OpenID_Server object. Since we can't raise exceptions in the
Server's constructor, that means you can get all the way to answer()
before you find out that you need to supply the endpoint URL. :( The
NEWS file does mention the answer() API change, but I'm all ears for
ideas about how to make the change more obvious.
--
Jonathan Daugherty
More information about the Dev
mailing list