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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top