Search code examples
phpopenidsingle-sign-onjanraingoogle-sites

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.


Solution

  • 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.