Adding Google and Twitter single sign-on to my website

Hello,

I am trying to look into adding single sign-on using Twitter and Google to my website, but I am having trouble finding too much information on the best way to go about this. I came across an extra, HybridAuth, which is supposed to provide single sign-on functionality for both of these platforms, but it looks like the documentation is at least outdated, as the Google API page in these instructions is completely different than the page that I see when I visit the link.

I am wondering if anyone knows whether this extra still works, and whether anyone has had any recent experience using it or knows of any more up-to-date guides on how to use this extra. Would I be better off manually implementing SSO for these platforms? If so, any advice on how I would go about this would be greatly appreciated.

Thanks!

I have tried to make the HybridAuth extra work and was unable to do it. The only way I could find to do this was to use the Hybridauth PHP library the extra was built on and manually integrate it.