This is an update to my post “Google Apps Premier federated login with PHP“. Idea is simple, users do not like passwords, less passwords – less pain and more security.
Nowadays many companies have gone cloud, which covers most needs, but leaves space for homegrown small applications, ideas, prototypes, etc. It is convenient to organize user login into these applications using already existing Google Apps login infrastructure.
This is about using it with PHP.
Since previous post, I’ve updated PHP library used to the latest versions and tested them again. Also I rewrite bundled example to work in more transparent way and made it more clear.
All-in-one-pack includes libraries and example
Unpack, make sure make TMP folder with sub-folders are writable.
It requires php_curl and php_openssl extension, make sure you have those.