I have seen more and more websites allowing you to log in with your facebook or google account. I am in the process of building a new website and I am wondering what the pro's and con's of doing this is because I am trying to decide if i want to implement this in my own site.
Pros of using Google/FB login (btw OpenId is also there which essentially is a similar thing):
I'd suggest that whatever login/registration method you decide, it should be based on your target users. Take a look at Stackexchange registration (which I guess you must have seen), it provides so many options to make the registration process (almost) frictionless.
Benefits of using OpenId (as mentioned on their website ). Actually, these also apply to other alternate login methods like Google/FB
There are two other possibilities;
The downside - if you got to be successful with lots of members, it could get pricey since they have a per-user fee. Check their rate schedules.
The main reason sites offer log-in through third party services is that it reduces sign-up friction. Private sign-ups can be simple and easy, or they can be a royal pain. And often you only know that after you hit 'register.'
So that's a great reason for supporting one or more social sign-ups. But there are alternatives. Plus, if you do go for a third party identity system for initial signup there's an important choice.
Posterous.com has its own private identity space. But they also make it super easy to sign up. Either fill in (just!) email, user name and password on the home page, or without signing up first you can email firstname.lastname@example.org and you're off and running with your first blog post. And some sites started out majoring on mobile sign-up, using that other common identity, your cellphone number. Third party logins aren't the only low-friction mechanism.
So think about the use cases your new site is serving, and ask, "What are the lowest friction ways someone could get up and running?"
If you do decide to use (any or all of) Facebook, Twitter, Google or an OpenID to get people onto the site, you still have to choose whether that is (a) one available choice, the other being a private sign-up, (b) the only method to get and stay registered, (c) an on-ramp from which you will then work to convert users to a private identity.
Each of those choices has its supporters. The best call is going to depend on the nature of the service you intend to offer and the users you will serve. Think it through, and make the best call you can based on what you know now. (And you can always change your mind when you have the experience to make that judgement better. It can be moderately annoying to users, but if you handle change well it can build your reputation!
Pros: 1. Your users don't have to register and remember a new account. 2. They can log in to your website in a familiar way. 3. You save time from coding yourself a trivial user management functions.
Cons: 1. Someone worries about privacy but I don't think it makes much sense since a website can only access minimum data of a user such as first name, last name, email which must be submitted to every website they want to use.