[OpenID] Extension discovery & PHP OpenID

Jonathan Daugherty cygnus at janrain.com
Thu Jun 11 15:46:29 UTC 2009


> Is explicit discovery required for extensions, even if the client has
> (direct) knowledge of what you support? Or is this just the case with php
> openid?

Hi Coen,

In order to request Sreg or AX data you need to explicitly augment the
request.  The PHP OpenID library supplies a few modules for doing
this, and you can find example code in examples/consumer/try_auth.php.
 Notable modules to include are:

  Auth/OpenID/AX.php
  Auth/OpenID/PAPE.php
  Auth/OpenID/SReg.php

Hope that helps,

-- 
  Jonathan Daugherty



More information about the general mailing list