Tell me more ×
Answers OnStartups is a question and answer site for entrepreneurs looking to start or run a new business. It's 100% free, no registration required.

what is the best way to get up third party logins? Is it a case of going through each client (google, facebook, twitter, workdpress etc) individually?

share|improve this question

5 Answers

You should check out the openid-selector project. You will notice it is the same as the one built in to this site. Check out the demo page you will see it's almost identical.

It's also very easy to integrate into your site.

Note: This is just 3rd party login and not full user integration. So although the user is authenticated through Facebook etc. it doesn't mean you have access to their Facebook user object with their friends etc. Have a search round the web for authentication vs. authorization to get a better idea of what I'm saying.

share|improve this answer
hi xiaohouzi79, thats a mil. The functionality on this site is exactly what I was looking for. All Im looking to do is grab a persons name and email address. I have no need for authorization. Thanks again – user5074 Oct 29 '10 at 8:33

Yupp. Pretty much so. For each service that you wish to support for logging in, you would need to write separate code.

oAuth is still far away from its promise. :((

share|improve this answer
Thanks for that Siddhartha... much appreciated. – user5074 Oct 29 '10 at 8:48

It depends on how you develop the website. Are you using CMS such as WordPress or Drupal? If you are, most of them have modules/plugins to support it.

But yeah, you do have to code each of them one-by-one, even though some of them uses the same standards such as OAuth used by Facebook, 4sq, and Twitter.

share|improve this answer
I am using a CMS designed by my developer. I think i will have to do some more reading on this OAuth. Thanks very much for your advice. – user5074 Oct 29 '10 at 8:35

There is at least one aggregator, Janrain Engage, and a creative Google search ought to turn up more. Additionally, there are free and commercial components you can use in your product that handle some or all of the standards. And, if you prefer to do it yourself the big three standards are OAuth & OAuth 2 and OpenID (which combined net you almost every provider.)

I'd put together a table of all your target providers and their sign in method(s), e.g, OAuth1. If they're all the same, using that standard in your product with third party libraries won't take much more effort than using an aggregator.

I've integrated with Facebook (OAuth2 and still offering FB Connect if you're feeling really masochistic), Google, MySpace, and Yahoo (all combinations of OpenID and OAuth1), Salesforce (really weird OAuth1), LinkedIn and Plaxo (both vanilla OAuth1.) I found every one has quirks and needs from a few lines of provider-specific programming to a hundred to handle those quirks (beyond the mostly identical programming to handle the standard.) Additionally each provider has differing setups, e.g., Yahoo works better with XRDS on your end, MySpace has separate development endpoints, etc.

If you have cash for an aggregator and don't need to deeply integrate the providers' APIs past the sign in, e.g., contacts, status updates, etc., then that is a an attractive way to go, though integrating with an aggregator could take work that exceeds integrating a single standard, e.g, OAuth1 (but probably not two of them.)

If your product uses an even semi-mainstream programming language, you'll have a variety of SDK's and widgets to choose from that'll make using the big three standards surprisingly fast (once you relax accept that each provider has their own idea of standard.)

share|improve this answer
Yuri, thanks a mil for pointing me in the direction of this aggregator. I would of googled if I'd known the right words to use! I will take a closer look at OAuth and OpenID. Im sure that Google/Facebook login would be more than enough to cover most people, however I will research further. – user5074 Oct 29 '10 at 8:39
Thanks again for your comments, I have a much clearer picture of whats going on now! – user5074 Oct 29 '10 at 8:40
Sure thing, glad it was helpful! – Yuri Gadow Oct 30 '10 at 19:16

It depends the technology you are using. In Ruby on Rails there are some very easy ways to integrate several third party services without using JanRain Engage.

share|improve this answer
Thanks Aymeric, we are not using Ruby on Rails, however I think some of the other answers should sort me out... – user5074 Oct 29 '10 at 8:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.