1

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.

Eddy Freddy
  • 1,820
  • 1
  • 13
  • 18
stebbin45
  • 109
  • 11
  • It's called OpenID, and is used here at stackoverflow - you can log into SO with your google account. – Marc B Oct 23 '11 at 03:48

3 Answers3

2

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.

Phil Lello
  • 8,377
  • 2
  • 25
  • 34
  • This is a pretty fricken great article.. could very well help us turn the corner on our OpenID effort.. thanks much – stebbin45 Oct 27 '11 at 23:42
1

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.

smartin
  • 2,957
  • 2
  • 23
  • 33
  • this looks like very well done doc and their supporting SSO provider list is a pretty good set of credentials it seems.. +1 fer sure.. – stebbin45 Nov 11 '11 at 18:35
1

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.

smartin
  • 2,957
  • 2
  • 23
  • 33