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 such as Facebook, Twitter and Google.

Overview

Hybridauth 3.7.1

Build Status Scrutinizer Code Quality Latest Stable Version Join the chat at https://gitter.im/hybridauth/hybridauth

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.

Usage

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();
}

Requirements

  • PHP 5.4+
  • PHP Session
  • PHP cURL

Installation

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.

Versions Status

Version Status Repository Documentation PHP Version
2.x Maintenance v2 v2 >= 5.3
3.x Development v3 v3 >= 5.4
4.x Future -- -- >= 7.3

Questions, Help and Support?

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.

License

Hybridauth PHP Library is released under the terms of MIT License.

For the full Copyright Notice and Disclaimer, see COPYING.md.

Comments
  • Facebook auth that worked for years now fails

    Facebook auth that worked for years now fails

    Hello,

    It was working smoothly for years, but right now it fails with the message: "Authentication failed! Facebook returned an invalid user id."

    Have tried to update to latest HybridAuth, change facebook app settings, but nothing helps. It fails on the stage: $hybridauth = new Hybrid_Auth( $authConfig );

    tag: provider :house: 
    opened by LuckStock 55
  • RFC: Refactoring / 3.0 - PSR-0, Composer, and more...

    RFC: Refactoring / 3.0 - PSR-0, Composer, and more...

    I'd like to propose that a new branch be "officially" started, possibly as a beginning to a 3.0 release.

    • Upgrade to PSR-0 and (possibly) namespaces -- I can understand the argument against making 5.3 a requirement (Edit: To carify, the extra adapters do not conform to PSR-0 and are astonishingly annoying to set up autoloading for properly in the context of other projects due to the hard-coded require_once statemnts in HybridAuth.)
    • Implement some coding standards
    • Remove all the static usage in favor of real OOP practices
    • Add official composer/packagist support
    • Make it overall more friendly for integration with projects and frameworks
    • Unit tests

    Yes, I could fork and just start working on it, but I'd prefer to get upstream support from the project and users so that it can hopefully be a more collaborative effort if there's sufficient interest.

    Thoughts?

    tag: enhancement :100: 
    opened by EvanDotPro 43
  • Add support for

    Add support for "Sign In with Apple"

    Would the Hybridauth maintainers be open to including support for the Sign In with Apple service?

    Additional info: https://developer.apple.com/documentation/signinwithapplejs/configuring_your_webpage_for_sign_in_with_apple

    tag: provider :house: tag: new feature :rocket: contributions: welcome :1st_place_medal: tag: v3 
    opened by smokris 30
  • Move some providers from extensions to core

    Move some providers from extensions to core

    I think some (or even all) providers may be moved from extras to the core to sipmlify customization. As for me, I have to add most of top-popular russian socials by hand and now will have to pay extra attention to support and upgrade it.

    The russian top-socials are Vkontakte, Odnoklassniki, Mailru and Yandex. Here are much more popular that Facebook and Twitter across former USSR countries.

    AFAIK, the count of providers at core does not affect performance. But makes support simpler. I can't see reasons to separete it.

    tag: provider :house: 
    opened by pavlyuts 28
  • Fatal error: Class 'Facebook\Facebook' not found

    Fatal error: Class 'Facebook\Facebook' not found

    I get this error below if login using Facebook: Fatal error: Class 'Facebook\Facebook' not found in C:\wamp64\www\hybridauth\Hybrid\Providers\Facebook.php on line 56

    I also notice that the Facebook folder is missing under "hybridauth/hybridauth/Hybrid/thirdparty/" ? Not sure if that's the problem. It used to be there on older version.

    Using the latest version 2.8.0. I did not encounter this problem on older version.

    UPDATE: Check below for solution. UPDATE: Check below for new solution for Hybridauth v2.8.2/3.

    tag: provider :house: 
    opened by nodeffect 26
  • [PayPal] Refactoring paypal to work with official PayPal-PHP-SDK

    [PayPal] Refactoring paypal to work with official PayPal-PHP-SDK

    Summary

    • Breaking change
      • Now PayPal provider is placed in hybridauth/Hybrid/Providers instead of additional-providers/hybridauth-paypal
    • Addition
      • Added https://github.com/paypal/PayPal-PHP-SDK as 3rd-party dependency.
    • [x] Tested
    • [ ] Documentation (to be done)

    Goal

    Fix #856

    Description

    Finally refactoring paypal according to the latest documentation, here is how it can be used:

    1. There is dependency with PayPal PHP SDK, to install just follow instructions.

    In short:

    • if you using composer as your dependency manager, run composer install
    • If you do not want to use composer, you can download latest/desired release zip file starting with PayPal-PHP-SDK-*.zip from Releases Section and then unzip, and copy directory to /Hybrid/thirdparty/Paypal location.
    1. How to use:
    $config = [
        "base_url" => "http://mywebsite.com/path/to/hybridauth/",
        "providers" => array(
            "Paypal" => array(
                "enabled" => true,
                "keys" => array(
                    "id" => "YOUR_CLIENT_ID",
                    "secret" => "YOUR_CLIENT_SECRET",
                ),
                "scope" => array(
                    "openid",
                    "profile",
                    "email",
                    "https://uri.paypal.com/services/paypalattributes"
                ),
            ),
        ),
    ];
    
    $hybridauth = new Hybrid_Auth($config);
    $adapter = $hybridauth->authenticate("Paypal");
    $user_profile = $adapter->getUserProfile();
    
    tag: provider :house: 
    opened by ApacheEx 23
  • Update Facebook Provider - Fixes #665

    Update Facebook Provider - Fixes #665

    This PR updates the Facebook provider for HybridAuth.

    An updated Facebook SDK that used the Facebook Graph API v2.8, so the login API calls still work after October 30th.

    The Facebook SDK OAuth client uses parse_str() function which causes problems with the HybridAuth urls, since the hauth.start and hauth.done query parameters are converted to hauth_start and hauth_done (see http://stackoverflow.com/questions/68651/get-php-to-stop-replacing-characters-in-get-or-post-arrays). This raised an 'uri_redirect mismatch' error in the OAuth client.

    TL;DR: You need to change to OAuth callback url in Facebook from http://www.yoursite.com/HybridAuth?hauth.done=Facebook to http://www.yoursite.com/HybridAuth?hauth_done=Facebook

    It is working for me, please let me know if you find any problems

    opened by annuh 23
  • [Facebook] URL not working, tried everything, need help

    [Facebook] URL not working, tried everything, need help

    Hello,

    My website runs under domain www.handianim.fr I don't have composer.

    I use latest version 2 of HybridAuth (not version 3 but latest 2) in my config.php, I have :

    $base_url = "https://www.handianim.fr/kalon/outils/hybridauth/index.php";

        "Google" => array(
            "enabled" => true,
            "scope" => "https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email",
            "keys" => array(my secret keys),
        ),
        "Facebook" => array(
            "enabled" => true,
            "keys" => array(my secret keys,
            "scope"=> array("email") ,
            "trustForwarded" => false,
    

    In google API, for URLS I have put : https://www.handianim.fr/kalon/outils/hybridauth/index.php?hauth.done=Google https://www.handianim.fr/kalon/outils/hybridauth/index.php?hauth_done=Google

    In facebook API, I have put : Domains for the app : handianim.fr www.handianim.fr

    And in URLs : https://www.handianim.fr/kalon/outils/hybridauth/index.php?hauth_done=Facebook&scope=email

    It works perfectly on Google

    BUT facebook says : Impossible de charger cette URL: Le domaine de cette URL n’est pas inscrit dans ceux de l’application. Pour pouvoir importer cette URL, ajoutez tous les domaines et sous-domaines de votre application au champ Domaines des paramΓ¨tres de l’application.

    Which in english says that the redirect URL is not listed... BUT IT IS

    I have sniffed the return error URL which contains : redirect_uri=https%3A%2F%2Fwww.handianim.fr%2Fkalon%2Foutils%2Fhybridauth%2Findex.php%3Fhauth_done%3DFacebook&scope=email

    => That's why I appened the scope to my redirect URL, but it doesn't work either

    I have tried so much things that I'm begging for help Thank you

    tag: provider :house: issue: question :question: 
    opened by jfloury 21
  • The authorization state ** of this page is either invalid or has already been consumed

    The authorization state ** of this page is either invalid or has already been consumed

    I always use the hybridauth library for social login via php, but when deploying to a new system, it always returns me this error:

    Oops, we ran into an issue! The authorization state [state=HA-87J6MLDU2T0F514HVCBSPWGXIZOEY3NRKQA9] of this page is either invalid or has already been consumed.

    I already tested in different browsers and with social networks Google and Facebook, the script redirects to the social network and after logging in the error returned in the uri url is this up

    I use the PHP Version 5.6.32

    tag: needs investigation :eyes: 
    opened by leonidaswander 21
  • [LinkedIn] Error! User has cancelled the authentication or the provider refused the connection.

    [LinkedIn] Error! User has cancelled the authentication or the provider refused the connection.

    Bug, feature or question? Question i an havin this Error! User has cancelled the authentication or the provider refused the connection. (HybriedAuth) Give us a short description. i am having error when i am trying with provider linked in i have entered the key and the secret Version and provider

    i am using v 2.8 and the provider Facebook,Twitter,Google, Linkedin?

    Is this an issue with a provider? If yes, which one? i am having a issue with Linkedin Reproduction

    How can we replicate this issue?

    tag: provider :house: 
    opened by 9meAhmed 20
  • Authentication failed! Facebook returned an invalid user id

    Authentication failed! Facebook returned an invalid user id

    I'm using this library to create facebook signup link for my website it worked fine on my localhost but when i moved it to the server it didn't work and it gave me this error message "Authentication failed! Facebook returned an invalid user id" i tried a lot of solutions from this links:

    • http://stackoverflow.com/questions/14068425/hybridauth-php-facebook-returned-an-invalid-user-id
    • http://stackoverflow.com/questions/20777100/hybridauth-facebook-returned-an-invalid-user-id
    • http://stackoverflow.com/questions/17515618/laravel4-hybridauth-facebook-authentication-failed-facebook-returned-an-invalid

    but nothing seem to fix this problem so can you help me fix it?

    opened by mbasfour 20
  • Not redirecting after Sign in with Google

    Not redirecting after Sign in with Google

    There is a problem that I don't even know where it originated from. I used Google to enter the site and everything is fine. But after entering the site, it does not redirect and the following page is displayed.

    Screenshot (356)

    (I also have this problem when entering Discord and Other)

    Thank you for helping me find where the problem comes from :)

    My Website Is : https://twitter.ro-ox.com/

    I updated Hybridauth and checked everything But I don't understand where the problem is

    opened by amirroox 0
  • Foursquare API deprecated /users/self/friends endpoint

    Foursquare API deprecated /users/self/friends endpoint

    Bug

    Exception raised when calling getUserContacts() function:

    Signed API request to https://api.foursquare.com/v2/users/self/friends has returned an error. HTTP error 404. Raw Provider API response: {"meta":{"code":404,"errorType":"endpoint_error","errorDetail":"No matching user action or aspect.","requested":"<...>"},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{}}.

    Version and provider

    Version 3.7.1, Foursquare provider.

    Reproduction

    Just try to call getUserContacts() function.

    opened by WASD42 1
  • Fatal error:  Class

    Fatal error: Class "Hybridauth\\Hybridauth\\Provider\\Telegram" not found

    Hello there. Trying to use new (to me) v3.8.2. But can't use it with Telegram provider.

    PHP Fatal error: Uncaught Error: Class "Hybridauth\\Hybridauth\\Provider\\Telegram" not found in /var/some/www/index.php:20\nStack trace:\n#0 {main}\n thrown in /var/some/www/index.php on line 20

    In index.php i have these:

    include_once( dirname( __FILE__ ) . '/hybridauth/autoload.php' );

    use Hybridauth\Hybridauth; use Hybridauth\HttpClient; $config = ['callback' => HttpClient\Util::getCurrentUrl(),'keys' => ['id' => 'mybot', 'secret' => '123:somesecret'],];

    $adapter = new Hybridauth\Provider\Telegram($config); try { $adapter->authenticate(); $userProfile = $adapter->getUserProfile(); } catch (\Exception $e) { print $e->getMessage(); }

    PHP Version 8.1.6

    Also, i've have same error with HttpClient: Uncaught Error: Class "Hybridauth\\Hybridauth\\HttpClient\\Util" not found But when i changed this line: 'callback' => Hybridauth\HttpClient\Util::getCurrentUrl(), to 'callback' => HttpClient\Util::getCurrentUrl(), error disappear.

    opened by Mo45 2
  • Fatal error: Uncaught Error: Undefined constant

    Fatal error: Uncaught Error: Undefined constant "Hybridauth\HttpClient\CURLOPT_TIMEOUT"

    Hey All,

    I pulled the source code and attempt to implement some simple example, but it ends up with errors:

    Fatal error: Uncaught Error: Undefined constant "Hybridauth\HttpClient\CURLOPT_TIMEOUT" at /Adapter/AbstractAdapter.php on line 248

    constant CURLOPT_TIMEOUT seems to be defined within src\HttpClient\Curl.php as a part of interface implements and shared within the namespace Hybridauth\HttpClient. It seems that the code was not able to recognize the shared variables based on namespace.

    a link to the error is at: https://www.playwhatyoufeel.com/hybridauth/face.php

    please let me know what went wrong? Is it something to do with composer installation? I installed directly using zip folder

    Do I need additional SDK from all social logins such as Google/Facebook SDKs?

    thanks!

    Steven

    opened by theflatworld 1
Releases(v3.8.2)
  • v3.8.2(Aug 18, 2022)

  • v3.8.1(Jul 12, 2022)

    v3.8.1 (2022-07-12)

    πŸ› Bug fixes

    • #1326 - Fix PHP 8.1 deprecation in OpenID.php. (@kekalainen)
    • #1337 - Provide support for Firebase/JWT version 6.2. (@sputnik73)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.8.0(Apr 8, 2022)

    v3.8.0 (2022-04-08)

    There a few bug fixes related to Apple, Amazon, WeChat and LinkedIn providers.

    Also, a new provider Keyckloak and better support of php 8.x

    For more details, check this Milestone for v3.8.0 πŸ‡ΊπŸ‡¦

    Source code(tar.gz)
    Source code(zip)
  • 3.7.1(Mar 13, 2021)

    v3.7.1 (2021-03-13)

    There a few bug fixes for Apple and Yandex provider + new provider AutoDesk. For more details, check this Milestone for v3.7.1 πŸš€

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • 3.7.0(Mar 9, 2021)

  • v2.18.0(Jul 7, 2021)

    v2.18.0 (2021-07-07)

    πŸŽ‰ Improvements/fixes

    • #1287 - Adding "prompt" as Google options. (@DanielSousa)
    • #1184 - Update saetv2.ex.class.php, PHP 7.4 compatibility. (@heyyoyo)
    • #1183 - Update OAuth.php, PHP 7.4 compatibility. (@heyyoyo)
    • #1152 - Upgrade Instagram API to Instagram Basic Display API. (@ApacheEx)
    Source code(tar.gz)
    Source code(zip)
  • 3.6.0(Oct 21, 2020)

    v3.6.0 (2020-10-21)

    Milestone for v3.6 πŸš€

    πŸŽ‰ Improvements

    • #1198 - Consistent state handling (documentation issue?) (@chrisgraham)
    • #1242 - Fix PSR-2 compliance. (@chrisgraham)
    • #1245 - Fix PSR-2 issues in comments. (@chrisgraham)
    • #1248 - [Facebook] Upgrade Graph API to v8.0. (@sviluppomania)

    πŸš€ New Providers

    • #1251 - Medium provider. (@Ganofins)

    πŸ› Bug fixes

    • #1239 - Fix OAuth1 flow bug. (@chrisgraham)
    • #1236 - Fix code went missing during merge / missed code from Vkontakte. (@chrisgraham)
    • #1240 - [WeChat] Fix authentication and profile data retrieval issue. (@chrisgraham + @champsupertramp)
    • #1238 - Fix session storage, due to bug in OpenID. (@chrisgraham)

    πŸ—‘οΈ Dropped

    • #1237 - [YahooOpenID] Yahoo dropped OpenID support. (@chrisgraham)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • 3.5.0(Sep 21, 2020)

    v3.5.0 (2020-09-21)

    Milestone for v3.5 πŸš€

    πŸŽ‰ Improvements

    • #1233 - [Telegram] Support profile URLs. (@chrisgraham)
    • #1234 - [Telegram] Need to support nonces for domains that have CSP enabled. (@chrisgraham)
    • #1222 - [Telegram] Some basic guidance on how to make Telegram provider work. (@chrisgraham)
    • #1213 - Fix code inconsistencies across providers. (@chrisgraham)
    • #1215 - [Facebook] Pass locale to Facebook API. (@chrisgraham)
    • #1217 - [Facebook] Implemented Facebook token exchange mechanism. (@chrisgraham)
    • #1204 - Show which URLs are failing when an endpoint returns an error. (@chrisgraham)
    • #1224 - AuthorizationDeniedException should be used for OAuth2. (@chrisgraham)
    • #1208 - [Vkontakte] Document where the config settings on Vkontakte come from. (@chrisgraham)
    • #1205 - [BitBucket] Link to OAuth2 config URL, support profile URL, fix typo. (@chrisgraham)
    • #1207 - [Reddit] Support photoURL as Reddit avatar. (@chrisgraham)
    • #1194 - [Twitter] Improved code comments documenting Twitter provider. (@chrisgraham)
    • #1193 - Write project name consistently. (@chrisgraham)

    πŸš€ New Providers

    • #1211 - Reimplemented Dropbox for Hybridauth v3, using Dropbox v2 API this time. (@chrisgraham)
    • #1188 - Add DeviantArt Provider. (@Ganofins)

    πŸ› Bug fixes

    • #1235 - Fix example07 for closing popup via js. (@ApacheEx)
    • #1214 - Fix guzzle issue with query string encoding. (@chrisgraham)
    • #1220 - Refactor refresh token handling to fix some messy code and bugs. (@chrisgraham)
    • #1203 - [StackExchange] fix and clarification. (@chrisgraham)
    • #1225 - Fix various bad error messages and inconsistencies in exceptions. (@chrisgraham)
    • #1223 - Fix incorrect exceptions being thrown by a couple of providers. (@chrisgraham)
    • #1209 - Improve MicrosoftGraph provider. (@chrisgraham)
    • #1202 - Fixed the Yahoo provider as it now needs to use OpenID Connect on top of OAuth2. (@chrisgraham)
    • #1229 - [php7.4] Remove deprecated get_magic_quotes_gpc. (@ApacheEx)
    • https://github.com/hybridauth/hybridauth/commit/533d9da7b1af35b27a6c3022309783ad78fd2647 - [Steam] Replace steamid with steamids. (@ApacheEx)
    • https://github.com/hybridauth/hybridauth/commit/7e93ffd4275626b3937b3b7c535dbfe9ed2c6d47 - [Steam] Use strict check for https. (@ApacheEx)

    p.s. Thanks to anyone who contributes and incredibly huuuuuge effort from @chrisgraham.

    Source code(tar.gz)
    Source code(zip)
  • 3.4.0(Jul 21, 2020)

    v3.4.0 (2020-07-21)

    Milestone for v3.4 πŸš€

    πŸŽ‰ Improvements / fixes

    • #1163 [OAuth1] Remove oauth1 authorization parameters from request body. (@collizo4sky)
    • #1168 [Twitter] Fix error : code":32,"message":"Could not authenticate you.". (@buzzybuzza)
    • #1169 [Internal] Make all types in Profile nullable. (@BackEndTea)
    • #1171 [TwitchTV] Fix "Client ID and OAuth token do not match". (@NeoVG)

    πŸš€ New Providers

    • #1166 [Pinterest] Create Pinterest provider. (@jorgevrgs)
    • #1178 [Apple] Create Apple provider. (@sputnik73)

    p.s. Thanks to anyone who contributes, especially @sputnik73 for Apple provider.

    Source code(tar.gz)
    Source code(zip)
  • 3.3.0(Apr 16, 2020)

    v3.3.0 (2020-04-16)

    Milestone for v3.3 πŸš€

    πŸŽ‰ Improvements / fixes

    • #1150 [VK] Improve api request + add education field. (@ApacheEx)
    • #1151 [VK] Add bdate field. (@XIOLog)
    • #1153 [OK] Add birthday field. (@XIOLog)
    • #1161 [Facebook] Upgrade facebook graph version to v6.0. (@coling)

    πŸš€ New Providers

    • #1157 [Patreon] New provider. (@codedealer)

    πŸ”₯ Breaking Changes

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • 3.2.0(Mar 4, 2020)

    v3.2.0 (2020-03-04)

    Milestone for v3.2 πŸš€

    πŸ› Fixes

    • #1135 [Foursquare] Fix issue with Foursquare login. (@artxneo)
    • #1146 [Discord] Fix refreshAccessToken. (@ApacheEx)
    • #1143 [Internal] Fix issue with passing access tokens in the config. (@pavkatar)
    • #1138 [Internal] Fix for Logger. (@artxneo)
    • #1141 [Internal] Corrected array syntax for PHP 7.4 compatibility. (@alystair)
    • https://github.com/hybridauth/hybridauth/commit/af2c61f86310602f81f3229b695879762171e174, https://github.com/hybridauth/hybridauth/commit/6f811a6d576ae2fcc80ecee2508ab98d40c4e092 [Telegram] Handle empty fields in authorization checking

    πŸŽ‰ Improvements

    • #1140 [VK] add getUserContacts method for Vkontakte provider. (@aktuba)

    πŸš€ New Providers

    • #1134 [QQ] New Provider. (@mai1015)
    • #1130 [Slack] New Provider. (@cboehme)
    • #1028 [Strava] New Provider. (@sebpapaechocharliekilo)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.1.1(Dec 27, 2019)

  • v3.1.0(Dec 13, 2019)

    v3.1.0 (2019-12-13)

    πŸ› Fixes

    • #1090 [Twitter] Fix Twitter follower and following counts. (@jkuster)
    • #1111 [Facebook] emailVerified should not check "verified". (@bertrandgorge)
    • #1091 [Odnoklassniki] Add clientId / clientSecret to tokenRefreshParameters. (@Metallizzer)

    πŸŽ‰ Improvements

    • #1082 [VK] Vkontakte getUserProfile fields. (@merkuriy)
    • #1066 [OAuth2] Allow POST method in OAuth2 authentification. (@JonathanMM)
    • #1106 [OAuth2] Doc fix, short code in hasAccessTokenExpired. (@WinterSilence)
    • #1070 [API] Add support for multipart requests for video upload support. (@pb30)
    • #1124 [HttpClient] Add support for PATCH requests in Curl client. (@Maczuga)
    • #1129 [Twitter] Make photo size configurable + https. (@ApacheEx)

    πŸš€ New Providers

    • #1112 [Telegram] New provider. (@devnull00000)
    • #1054 [ORCID] New Provider. (@filips123)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v2.17.0(Dec 13, 2019)

    v2.17.0 (2019-12-13)

    πŸŽ‰ Improvements

    • #1113 - [OAuth2] Re-login when access token is expired without refresh token. (@ApacheEx)
    • #1128 - [Twitter] Make photo size configurable + https. (@ApacheEx)
    Source code(tar.gz)
    Source code(zip)
  • v2.16.0(Sep 20, 2019)

  • v2.15.1(Jun 11, 2019)

  • v3.0.0(May 31, 2019)

    Finally, the day has arrived! Hybridauth 3.0 is released as stable version. πŸ₯‡ πŸ₯‡ πŸ₯‡

    See the migration guide.

    In case of any questions please fill a new issue.

    Big thanks everyone who was involved. πŸš€πŸš€πŸš€

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.11(May 29, 2019)

    v3.0.0-rc.11 (2019-05-30)

    πŸ› Fixes

    • #1075 [LinkedIn] Get first name and last name on preferred locale. (@ApacheEx)

    πŸŽ‰ Improvements

    • #1074 - Add DELETE request method support. (@ApacheEx + @pb30)
    • #1069 - Add authorize_url_parameters config support to OAuth 1 providers (@pb30)

    πŸš€ New Providers

    • #1071 - Paypal OAuth2. (@jorgevrgs)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v2.15.0(May 29, 2019)

  • v3.0.0-rc.10(Mar 25, 2019)

    v3.0.0-rc.10 (2019-03-25)

    πŸ› Fixes

    • #1058 - [Facebook] Upgrade Graph API version to v2.12. (@ApacheEx)
    • #986 - [Yahoo] Fix for firstname/lastname/e-mail. (@antiqque)

    πŸŽ‰ Improvements

    • #1033 - Added Amazon provider. (@zorn-v)
    • #1031 - Improve setApiEndpoints. (@dusta)

    πŸ”₯ Breaking Changes

    • #1059 - [LinkedIn] Upgrade API to v2. (@ApacheEx + @RazaGR)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v2.14.0(Mar 25, 2019)

  • v2.13.0(Jan 10, 2019)

    2.13.0 - Jan 10 2019

    πŸ› Fixes

    #995 - Return back support for PHP 5.2. (@misterspelik) #1030 - [Google] Migrate Google+ Sign-in to Google Sign-In (@karlshea)

    πŸŽ‰ Improvements

    #1019 - Added option to set status as company for LinkedIn. (@ttornado)

    πŸ”₯ Breaking changes

    • #1019 - Support of Google+ API has been dropped (related issue #1024):
      • Some profile fields were removed.
      • Google+ Contacts were removed.

    πŸ”¨ Migration guide

    You need to make sure that:

    • you don't use google plus contacts.
    • you don't use such fields from the getUserProfile: phone, country, region, zip, city, address, webSiteURL, age, birthDay, birthMonth, birthYear.
    • you use OAuth 2.0 client ID (see https://console.cloud.google.com/apis/credentials)
    • you can disable Google+ API Library from here https://console.cloud.google.com/apis/library

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.9(Jan 3, 2019)

    v3.0.0-rc.9 (2019-01-03)

    πŸŽ‰ Improvements

    • #1016 - Added Yandex provider. (@bologer)
    • #1027 - Facebook profile URL fallback. (@bologer)
    • https://github.com/hybridauth/hybridauth/commit/6123c31700bda7acd49cef7f1f0c138b60f39070 - [Google] Migrate Google+ Sign-in to Google Sign-In (@miled)

    πŸ”₯ Breaking changes

    • https://github.com/hybridauth/hybridauth/commit/6123c31700bda7acd49cef7f1f0c138b60f39070 - Google+ API is not used anymore.
    • https://github.com/hybridauth/hybridauth/commit/6123c31700bda7acd49cef7f1f0c138b60f39070 - A method getGplusContacts has been removed.

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.8(Dec 1, 2018)

    v3.0.0-rc.8 (2018-12-01)

    πŸŽ‰ Improvements

    • #1012 - Added autoload-dev. (@samnela)
    • #1009 [Facebook] - Remove continue keyword. Let fetch paging from api. (@Ridder90)
    • #1010 [Steam] - Fixed $userProfile->identifier https issue. (@LittleBigBug)

    πŸ› Bug fixes

    • #992 - [MicrosoftGraph] Map response to Data\Collection object to use the get method. (@Ridder90)
    • #993 - [Tumblr] Update endpoints. (@erwinn)
    • https://github.com/hybridauth/hybridauth/commit/e18d765c27f9070cdd4a5adbd163e57278841b29 - [OpenID] Fix typo in error messages. (@ApacheEx)
    • #1008 - [Blizzard] Update provider to work with their new API. (@ErikJson)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.7(Aug 15, 2018)

    v3.0.0-rc.7 (2018-08-15)

    πŸ› Bug fixes

    • #991 - [Dribbble] Upgrade API to v2. (@ApacheEx)
    • #987 - [Facebook] Deprecate setUserStatus. (Breaking changes by @ApacheEx)

    πŸš€ New Providers

    • #948 - Blizzard provider integration. (@cookieman768)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v2.12.0(Aug 10, 2018)

    2.12.0 - Aug 10 2018

    Fixes

    #989 - [LinkedIn] Add "state" parameter to LinkedIn Provider https://github.com/hybridauth/hybridauth/commit/c5aec039bc5eaf9eaaf3f1192832c5f15d67e348 - [Facebook] reduce scope

    Source code(tar.gz)
    Source code(zip)
  • v2.11.0(Jun 11, 2018)

    2.11.0 - Jun 11 2018

    Fixes

    #925 - [VK] Required api version number in requests #974 - [Core] Handling the case when REQUEST_URI contains the FQDN.

    Improvements

    #926 - [VK] Improved Exception msg for Vkontakte provider

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.6(Jun 1, 2018)

    v3.0.0-rc.6 (2018-06-01)

    πŸŽ‰ Improvements

    • #965 - Return profileURL in Instagram adapter. (@thedotedge)
    • #967 - Make provider name not case sensitive. (@balamyt92)

    πŸ› Bug fixes

    • #956 - Fixed TwitchTV Provider. (@cookieman768)
    • #966 - Fix Vkontakte provider for get profile data. (@balamyt92)
    • #971 - Fixed typo in GitLab authorize url. (@zorn-v)
    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.5(Apr 30, 2018)

    v3.0.0-rc.5 (2018-04-30)

    πŸŽ‰ Improvements

    • #944 [OpenID] Make possible OpenID auth via POST. (@zorn-v)
    • #947 [OAuth1] Improve initialize of OAuth1 provider. (@ApacheEx)
    • #949 [Discord] Makes display name more unique. (@ApacheEx)
    • #946 [Documentation] Added EXAMPLE_07, opening provider logins in a popup. (@neokio)
    • #954 [Odnoklassniki] Correct working with new version API. (@Mint-Joy)

    πŸš€ New Providers

    • #943 - MicrosoftGraph provider integration. (@Ridder90)
    • #954 - Mailru provider integration. (@Mint-Joy)

    p.s. Thanks to anyone who contributes.

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-rc.4(Apr 16, 2018)

    v3.0.0-rc.4 (2018-04-16)

    πŸ› Bug Fix

    • #924 - [VK] Required api version number in requests. (@andreypaa)

    πŸŽ‰ Improvements

    • #935 - Allow to use custom authorization_state (@ApacheEx)
    • #937 - [Google] Make google image size configurable like facebook. (@Ridder90)
    • #938 - [LinkedIn] Use linkedin original url as profile url. (@Ridder90)
    • #941 - [VK] Updated Vkontakte provider to the latest api. (@davpsh)
    Source code(tar.gz)
    Source code(zip)
:atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP :shipit:

SocialConnect Auth Getting Started :: Documentation :: Demo Open source social sign on PHP. Connect your application(s) with social network(s). Code e

SocialConnect 518 Dec 28, 2022
:atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP :shipit:

SocialConnect Auth Getting Started :: Documentation :: Demo Open source social sign on PHP. Connect your application(s) with social network(s). Code e

SocialConnect 458 Apr 1, 2021
Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP

Open source social sign on PHP. Connect your application(s) with social network(s).

SocialConnect 517 Dec 11, 2022
A simple twitter SDK to interact with Twitter api (1.1)

Twitter SDK Installation composer require lyrixx/twitter-sdk Usage Create a twitter application then <?php require __DIR__.'/vendor/autoload.php';

GrΓ©goire Pineau 37 Aug 28, 2020
Symfony bundle to publish status updates on Facebook, LinkedIn and Twitter.

Upgrading? Check the upgrade guide. What's this? This is a Symfony bundle written in PHP 7.1 that wraps martin-georgiev/social-post - an easy way for

Martin Georgiev 37 Oct 30, 2022
via this package you can push notifications to [ Facebook , Twitter , Telegram , Linkedin ] ( Laravel )

Push To Social [ Facebook , Twitter , Telegram , Linkedin ] via this package you can push notifications to [ Facebook , Twitter , Telegram , Linkedin

Peter Tharwat 29 Nov 4, 2022
Sign into your Flarum forum with your Amazon account

Log In With Amazon A Flarum extension. Log in to your Flarum forum with Amazon. An addon for FoF OAuth Installation Install with composer: composer re

Ian Morland 0 May 4, 2022
Login Menggunakan Google, Github, & Facebook

Login Oauth 2 Karena agak rumit untuk menjelaskan, ikuti tutorial berikut untuk mengatur CLIENTID dan CLIENTSECRET mu terlebih dahulu klik. Server Req

Fadhlurrahman 1 Nov 24, 2021
This library extends the 'League OAuth2 Client' library to provide OpenID Connect Discovery support for supporting providers that expose a .well-known configuration endpoint.

OpenID Connect Discovery support for League - OAuth 2.0 Client This library extends the League OAuth2 Client library to provide OpenID Connect Discove

null 3 Jan 8, 2022
A wrapper around Spatie’s Browsershot for managing social share images (OGP, Twitter etc.)

Very short description of the package This package allows you to create dynamic social sharing images in your Laravel apps. It uses Spatie’s Browsersh

Richard Le Poidevin 4 Dec 25, 2021
Single Sign-On for PHP (Ajax compatible)

Single Sign-On for PHP (Ajax compatible) Jasny SSO is a relatively simply and straightforward solution for single sign on (SSO). With SSO, logging int

Arnold Daniels 1.4k Jan 6, 2023
Jasny SSO is a relatively simply and straightforward solution for single sign on (SSO).

Single Sign-On for PHP (Ajax compatible) Jasny SSO is a relatively simply and straightforward solution for single sign on (SSO). With SSO, logging int

Arnold Daniels 1.4k Jan 6, 2023
The first PHP Library to support OAuth for Twitter's REST API.

THIS IS AN MODIFIED VERSION OF ABRAHAMS TWITTER OAUTH CLASS The directories are structured and the class uses PHP5.3 namespaces. Api.php has a new

Ruud Kamphuis 51 Feb 11, 2021
The most popular PHP library for use with the Twitter OAuth REST API.

TwitterOAuth The most popular PHP library for Twitter's OAuth REST API. See documentation at https://twitteroauth.com. PHP versions listed as "active

Abraham Williams 4.2k Dec 23, 2022
Twitter OAuth API for PHP 5.3+

README The Wid'op OAuth library is a modern PHP 5.3+ API allowing you to easily obtain a Twitter access token. For now, it supports OAuth Web & Applic

Wid'op 8 Dec 11, 2020
EAuth extension allows to authenticate users by the OpenID, OAuth 1.0 and OAuth 2.0 providers

EAuth extension allows to authenticate users with accounts on other websites. Supported protocols: OpenID, OAuth 1.0 and OAuth 2.0.

Maxim Zemskov 330 Jun 3, 2022
Easy integration with OAuth 2.0 service providers.

OAuth 2.0 Client This package provides a base for integrating with OAuth 2.0 service providers. The OAuth 2.0 login flow, seen commonly around the web

The League of Extraordinary Packages 3.4k Dec 31, 2022
A Collection of Providers for Laravel Socialite

A Collection of Providers for Laravel Socialite Documentation Full documentation for using these providers can be found at the Documentation. Contribu

Socialite Providers 402 Jan 6, 2023