Google Identity Toolkit

I’m trying to enable federated login with various providers for a web page I’m building, but running into getting the Google Identity Toolkit(gitkit) to function under PHP.

Has anyone enabled this under any of the various other methods Google allows, and willing to share some pointers?