Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers s
Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers s
Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social level that starts off with social sign-in and extends to social sharing, users profiles, friends lists, activities streams, status updates and more.
The main goal of Hybridauth is to act as an abstract API between your application and the various social networks APIs and identities providers such as Facebook, Twitter and Google.
Hybridauth provides a number of basic examples. You can also find complete Hybridauth documentation at https://hybridauth.github.io
$config = [
'callback' => 'https://example.com/path/to/script.php',
'keys' => [
'key' => 'your-twitter-consumer-key',
'secret' => 'your-twitter-consumer-secret',
],
];
try {
$twitter = new Hybridauth\Provider\Twitter($config);
$twitter->authenticate();
$accessToken = $twitter->getAccessToken();
$userProfile = $twitter->getUserProfile();
$apiResponse = $twitter->apiRequest('statuses/home_timeline.json');
}
catch (\Exception $e) {
echo 'Oops, we ran into an issue! ' . $e->getMessage();
}
To install Hybridauth we recommend Composer, the now defacto dependency manager for PHP. Alternatively, you can download and use the latest release available at Github.
For general questions (i.e, "how-to" questions), please consider using StackOverflow instead of the Github issues tracker. For convenience, we also have a [low-activity] Gitter channel if you want to get help directly from the community.
Hybridauth PHP Library is released under the terms of MIT License.
For the full Copyright Notice and Disclaimer, see COPYING.md.
Magento 2 looses customer session after SSO with Apple ID
SameSite=Strict breaks Hybridauth
Twitter login new API v2
Provider request: BigCommerce
What is the current status of Hybridauth 2.x?
Reddit Login Returns 403
Keycloak SSO
getKidFromOLDCToken function
Can somebody help to add WeWorkChat Provider?
Undefined method GuzzleHttp\Exception\ConnectException::getResponse()