PHP OpenID Authentication Example
This example consumer uses the PHP OpenID library (2.x.x). It just verifies that the URL that you enter is your identity URL.
It requests the following Simple Registration Extension fields:
- nickname (set to 'required')
- fullname
- email
It requests the following Attribute Exchange fields:
- http://axschema.org/contact/city/home (set to 'required')
- http://axschema.org/contact/phone/cel
- http://axschema.org/contact/IM/MSN
- http://axschema.org/media/image/aspect11
- http://hyves.nl/api/openid/schema/userid
See our documentation for the supported fields.
Download the sourcecode of this example here.