简体   繁体   中英

How can Google account credentials by applied to my PHP app (SSO)?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM