December 28, 2007

playing with OpenID

I got the sample code running to play with OpenID PHP client. I have discovered something interesting about how it all works. The client makes a list of what info it needs, and wants. Then sends that info to the server. If you have authorized that site before, it will simply send the data you setup on the server before. If you have not authorized that site, it will ask you what information you should give the site. Then, the server directs you back to the client, at the URL the client told the server to go back to once data has been collected.

Then I looked into the openID plugin for drupal. In the database: the user and password data are the same; there is a new table showing my openID server (less the account name). There are other fields in the table, which I have no idea what they are for. That is what I will try to figure out next.

No comments: