How to use authentication info of facebook, google… in Yii

My website uses a default Yii user model: user->id, user->username … Almost activation on website bases on user account.

Then, I included login via Google, facebook… by using Eauth extention. This extension works well now. I could get user name, user id from them.

The problem is my website controls processes by using only Yii’s user account, so Google’s account can not do any thing.

How to sync Yii’s user account with a Google or Facebook user account?