Through this and this, I've managed to integrate facebook authentication into my site.
The flow was like this:
User click on facebook login button (w/registration url) for the first time --> registration form popup and user press agree --> From then if user is login with facebook, they are automatically login into my site.
So the user can either login using email address and password as usual or login through facebook.
Can I achieve similar result with OpenId ?