Server denied check_authentication

Kevin Turner kevin at janrain.com
Fri Jan 25 15:05:07 PST 2008


On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I’ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat).  The authentication steps and the nonce are
> working perfectly, the return however is failing with: 
> 
> Server denied check_authentication

Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible.  The fact that it's not doing so
suggests that it failed to retrieve an association from the store.

Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?

When your RP makes checkid_setup requests, does it include an assoc_handle?

If so, does the id_res response include an invalidate_handle parameter?

-- 
keturn on https://pibb.com/go/openid and irc.freenode.net#openid




More information about the Dev mailing list