How would you design and implement OpenID components?
(Was \"How does OpenId work\")
I realize this question is somewhat of a duplicate, and yes
This page has a nice flow diagram.
I found this link on the OpenID Wiki, you might want to check there for more resources.