title: OpenId support for Yii
body: <p>I want to play with OpenID support in Yii.</p>
  
  <p>After researching for possible plugins, I found these two. One for OpenidSelector and one for LightOpenId</p>
  
  <p><a href="http://www.yiiframework.com/extension/simpleopenidselector/" rel="noreferrer">http://www.yiiframework.com/extension/simpleopenidselector/</a></p>
  
  <p><a href="http://www.yiiframework.com/extension/loid" rel="noreferrer">http://www.yiiframework.com/extension/loid</a></p>
  
  <p>Are these the right extensions to use in Yii for OpenId support?  Anything else?
  And I would like to get some guide line on what to do with these extensions if they are correct.</p>
  
  <p>This is what I think I need to do beside installing them as per instructions on the page.</p>
  
  <ol>
  <li>Create OpenIdUserIdentity extends CUserIdentity and put the authenticate() code there</li>
  <li>Create a login page and put the simpleopenidselector code in a view.</li>
  <li>Create a actionOpenIdLogin methon in siteController</li>
  </ol>
  
  <p>then I am kind of lost as I don't understand the Usage sample in Loid and I am not sure how to do (1) and (3) above.</p>
  
  <p>Please let me know if I am on the right track and possibly provide some guidance. Thanks. </p>