How can I integrate OpenID into my website so people can login with their Google, Twitter, or Facebook credentials?
Did you bother to look at the OpenID site?
Here's a list of libraries, there's a ton of options for PHP.
Here's a list of plugins for popular content management scripts.
Janrain User Management Platform (JUMP)
You need to use a mixture of technologies to achieve that. OpenID is technology that will allow your users to login with Google (and Yahoo and many other providers), Twitter and Facebook both are using OAuth protocol but it's easier to grab a API specific for given vendor.
I've implemented a ready made solution (working demo) that makes use of LightOpendID (to allow login with Google/Yahoo account), Facebook and Twitter APIs, you can grab it on github.
Related
At my company we use Google Apps.
I've written a dashboard application (PHP/Laravel) which is used throughout the organization. It has a custom authentication system, but I'd like to integrate it with other services we use.
The basic use case that I'm interested in is something like this: you come in to the office in the morning, sign in to your email, and you're automatically signed in to the dashboard.
I've been looking at OAuth & reading about how to implement it, but it's not clear to me that it will do what I want.
So the basic question is this: what can Google OAuth do for me?
You can use Google+ Signin which is an OpenID Connect compliant SSO mechanism built on top of OAuth. By extending your applications with OpenID Connect Resouce Provider (RP) functionality and pointing them to Google as the Provider (OP) you would achieve SSO across your applications.
For a list of OpenID Connect RP libraries/implementations that you may leverage for your applications, see: http://openid.net/developers/libraries/
Is there a php library that has all the stuff I need to do logins via fb, google, twitter, yahoo etc?
Something like how the SO one works.
Thanks
OAuth is different from the open-id facebook uses oauth by that you can actually pull some facebook data while with open-id u can maintain the session just authentication is done by the open-id provider (google)
you can use the Janrain-engage for this purpose and there is also a open-source lib available named "open-id enabled" thats too now under janrain.. google it
I have a PHP application that will be accessed by users who are already
signed into Google ( the app runs in an iFrame on a Google Site that
requires Google login)
What is the best SSO approach that uses Google login, so users have
the same identity in both places?
Best to use a some OpenID opensource? .. zend/cake/symf plugin?
GoogleApps infrastructure? .. or a identity service like Janrain?
Is it too early to go with OpenID Connect? etc.
Thanks much.
OpenID works well - and indeed, is good enough for StackOverflow - you probably used it to register your account here.
There's an article called Getting Started with OpenID. Although it's on Zend's website, it doesn't seem to be tied to the Zend framework, so is a good starting point. It covers all the modules you need to download, and includes an example to help get you started.
Also take a look on simplesamlphp and its integration with Google:
Setting up a simpleSAMLphp SAML 2.0 IdP to use with Google Apps
Is an open source project based on php. Nice comunity and complete documentation.
Hi again I recently discovered this interesting project HybridAuth, an SSO PHP Library for authentication through identity providers like Facebook, Twitter, Google, Yahoo, LinkedIn, MySpace, Windows Live, Tumblr, Identica, LastFM, OpenID, PayPal, Vimeo, Foursquare, AOL, Viadeo, and others.
I didnt test it but seems also a good solution.
Is there a PHP plugin or an open project offering a simple login/connection system to most of the major sign in providers simply by providing an API key then storing the linked account information in MySQL? Or is there a system that can be extended to include various other login providers as they become available?
Google Account / gmail / blogger
Yahoo! OpenId / ymail / Flickr
Facebook Connect
Twitter
OpenId
MyOpenId
MediaWiki
Wordpress OpenID
MySpaceID
AOL / AIM
Windows Live
It is not a plugin but something you add to your site. However, take a look at Dope OpenId, it is rather easy to use and handles most implementations for free and you are in total control and not dependent on yet another service.
Edit: I haven't checked if it handles all of the above, but I have most of them on my login screen and they work.
I really would like to integrate the Myspace ID platform on my site using PHP, instead of allowing users to sign in to my site anytime with there myspace ID I am planning on just using it 1 time on signup process to allow them to import profile data from there myspace to my network.
I have note been able to find any good example code for doing any kind of myspace integration, has anyone done this and care to share any info on the issue please?
MySpace is an OpenID provider. What you're looking for is an OpenID consumer library.
This one turned up as the first result on Google though there are many more out there: PHP OpenID Library
This let's people not only use MySpace, but Google, AOL, Yahoo, Flickr and innumerable other sites to sign into yours. I use it regularly. Even Stack Overflow uses OpenID sign in. Great stuff!
A simple solution would be to use JanRain - they handle login for multiple networks including MySpace, Facebook, Twitter, Yahoo!, etc.
http://www.janrain.com/