Issues

ZF-10198: Zend_OpenId_Provider's documentation is not very useful

Issue Type: Docs: Improvement Created: 2010-07-21T13:04:18.000+0000 Last Updated: 2012-11-20T21:37:56.000+0000 Status: Open Fix version(s): Reporter: Nathan Hazout (nasht00) Assignee: None Tags: - Zend_OpenId

Related issues: Attachments:

Description

The documentation for Zend_OpenId_Provider is very confusing and not useful.

I have an existing website that I want to turn into an OpenID provider. All my user accounts are stored in a mysql table.

I figured since an OpenID is represented as a URL, I am going to do something like: http://login.mydomain.com/username

I've setup a subdomain, and created an htaccess that redirects all URLs to /login.php?username=[username]

The way I see it, and tell me if I'm wrong, someone goes to let's say StackOverflow, they enter http://login.mydomain.com/myUsername. They get to a page on my server that asks for their password (since I already know their username), I check that it matches, and return the key?

People online recommended using Zend_OpenId_Provider. I've been reading the documentation (http://framework.zend.com/manual/en/…), but I find it very confusing. There is no real world example where the user login/password are stored in a database.

It seems to be a pretty common thing to do.

See original question on StackOverflow: http://stackoverflow.com/questions/3208905/…

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts