Nathan Osman
Nathan Osman

Reputation: 73295

How to add OpenID to a php site?

I absolutely love StackOverflow's usage of OpenID for registration. How would I go about adding this to my site? It is PHP based. I went to openid.net and looked at the libraries there, but could find little in the way of documentation or examples.

Upvotes: 10

Views: 1420

Answers (3)

Yada
Yada

Reputation: 31265

This tutorial was helpful for a previous project I worked on using PHP and OpenID. It has an example app.

http://devzone.zend.com/article/3581

alt text
(source: zend.com)

Upvotes: 10

keturn
keturn

Reputation: 4798

Documentation and examples.

Upvotes: 1

Kirzilla
Kirzilla

Reputation: 16606

OpenID is great, but have one big disadvantage. Let's imagine that I'm having Google account and Yahoo account. I will login using Google and then I will try to login using Yahoo. And it will be different accounts; it's really difficult to remember what openID provider I was using for registration... So, be careful with OpenID on entertainment websites, but it is still ok for developers websites.

Check OpenId class from Zend Framework.

Upvotes: 0

Related Questions