I am creating a user registration page little bit similar like stackoverflow. For that i must give an opportunity to the user if he has any account already exist on 3rd party networks like facebook , twitter , google or linkedin then instead of custom registration.
i need to save their 3rd party network Ids,emails , name in my database in user table. So that if that particular user come and provide similar user name and his authentication become successful then i can give him access to use the user pages on my site. ( I am not interested in saving password for 3rd party networks social network)
I am bit confuse how can i build such kind of system , some one told me openid and openauth but i am not sure which one can give me correct result?