hybridauth

Hybrid auth with Yii causing a redirect loop

 ̄綄美尐妖づ 提交于 2019-12-18 08:55:21
问题 I am trying to implement twitter sign in on my website using hybridauth. I know there is a hybrid auth plugin for Yii. I am not using it because last time I used I ran into some problems. I am trying to implement the core version of hybrid auth. I am calling $hybridauth = new Hybrid_Auth( Yii::app()->params['hybridauth'] ); $adapter = $hybridauth->authenticate( 'Twitter'); But for some reason it redirects to http://localhost/yiiauth/authtest/?hauth.start=Twitter&hauth.time=1350973441 , which

HybridAuth Twitter Failure 401

送分小仙女□ 提交于 2019-12-10 17:34:54
问题 THE PROBLEM I was able to connect to Twitter the the HybridAuth library, and it stopped working. Posting to a Twitter account was also functional. WHAT I HAVE TRIED Resetting my Twitter app access tokens. Creating an All new Twitter app. Using the HybridAuth debug mode to troubleshoot. THE ERROR MESSAGE "Authentification failed. The user has canceled the authentication or the provider refused the connection. Original error message: Authentification failed! Twitter returned an error. 401

HybridAuth with Google provider randomly returns “invalid_request” when authenticating

情到浓时终转凉″ 提交于 2019-12-07 09:59:36
问题 We use Google OAuth2 to authenticate our users into an internal application, using HybridAuth 2.4.0 and it went well until about a week ago where we started to see more and more random "invalid_request" responses from https://accounts.google.com/o/oauth2/token. When I say "random", today it's more likely: doesn't work then works systematically for about one minute (multiple authentication in a row will succeed) to stop working again (ie: "invalid_request" response). We tried upgrading to the

Laravel 4, Composer and hybridauth - How to load additional providers

六眼飞鱼酱① 提交于 2019-12-07 01:23:05
问题 I'm using Laravel 4 and have loaded hybridauth via composer and got it working just fine with Facebook and Twitter. Now i'm trying to get it working with Steam, which is listed as an additional provider, however I keep getting the following error: require_once(vendor/hybridauth/hybridauth/hybridauth/Hybrid/Providers/Steam.php) [function.require-once]: failed to open stream: No such file or directory Clearly it's looking in the wrong place, the actual class resides in this location: vendor

Fatal error: Class 'Hybrid_Logger' not found in /hybridauth/Hybrid/Endpoint.php on line 165

情到浓时终转凉″ 提交于 2019-12-06 13:17:11
I am drying to deploy HyBridAuth as a plugin in my website . my fucntion looks something like this . function authenticatewith( $provider ){ ini_set('display_errors','on'); //includes $config = dirname(__FILE__) . '/hybridauth-2.1.2/hybridauth/config.php'; require_once( "hybridauth-2.1.2/hybridauth/Hybrid/Auth.php" ); $provider_name = $provider; //$config = $this->getconfig($id); try{ // initialize Hybrid_Auth with a given file $hybridauth = new Hybrid_Auth( $config ); // try to authenticate with the selected provider $adapter = $hybridauth->authenticate( $provider_name ); // then grab the

HybridAuth with Google provider randomly returns “invalid_request” when authenticating

冷暖自知 提交于 2019-12-05 17:01:24
We use Google OAuth2 to authenticate our users into an internal application, using HybridAuth 2.4.0 and it went well until about a week ago where we started to see more and more random "invalid_request" responses from https://accounts.google.com/o/oauth2/token . When I say "random", today it's more likely: doesn't work then works systematically for about one minute (multiple authentication in a row will succeed) to stop working again (ie: "invalid_request" response). We tried upgrading to the latest version of HybridAuth (2.8.0 and now 2.8.1), it didn't fix the encountered issue. Also checked

Laravel 4, Composer and hybridauth - How to load additional providers

痞子三分冷 提交于 2019-12-05 05:39:04
I'm using Laravel 4 and have loaded hybridauth via composer and got it working just fine with Facebook and Twitter. Now i'm trying to get it working with Steam, which is listed as an additional provider, however I keep getting the following error: require_once(vendor/hybridauth/hybridauth/hybridauth/Hybrid/Providers/Steam.php) [function.require-once]: failed to open stream: No such file or directory Clearly it's looking in the wrong place, the actual class resides in this location: vendor/hybridauth/hybridauth/additional-providers/hybridauth-steam/Providers/Steam.php There's very little

Facebook Login using HybridAuth showing error You cannot access this page directly

核能气质少年 提交于 2019-12-04 11:30:18
I am trying to write a plugin for my website to connect with facebook using the HybridAuth classes. I just tried following code function authenticatewith( $provider ) { ini_set('display_errors','on'); //includes $config = dirname(__FILE__) . '/hybridauth-2.1.2/hybridauth/config.php'; require_once("hybridauth-2.1.2/hybridauth/Hybrid/Auth.php"); $provider_name = $provider; //$config = $this->getconfig($id); try { // initialize Hybrid_Auth with a given file $hybridauth = new Hybrid_Auth($config); // try to authenticate with the selected provider $adapter = $hybridauth->authenticate($provider_name

Hybrid Auth with Codeigniter

旧时模样 提交于 2019-12-02 17:47:18
I downloaded the codeigniter extension of HybridAuth here: https://github.com/andacata/HybridIgniter I followed instructions on its use. When I try to login via any provider at: www.mydomainname.com/hauth/login/twitter it loads a page saying: HybridAuth Open Source Social Sign On PHP Library. hybridauth.sourceforge.net/ It never works. I have valid API credentials for Twitter and Facebook but both load this page and nothing else happens. Any tips would be greatly appreciated. UPDATE My log says: Hybrid_Provider_Adapter::login( facebook ), redirect the user to login_start URL. -- Array ( [hauth

Enable CURL on Windows For PHP5.6.4

混江龙づ霸主 提交于 2019-12-01 19:41:28
问题 Im trying to use HybridAuth in one of my projects, the error message im getting is Original error message: Hybridauth Library needs the CURL PHP extension. Even though i have enabled cURL in my php.ini extension=php_curl.dll here is a screenshot of my phpinfo() What else i have to do in-order to enable the cURL extension, the related php_curl.dll is also present in the ext dir Message that i get when i restart the apache server C:\Apache24\bin>httpd -k restart AH00558: httpd: Could not