by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 18 14:02
    gonzalesc commented #1212
  • Sep 18 11:43
    ApacheEx commented #1212
  • Sep 18 11:29
    gonzalesc commented #1212
  • Sep 16 07:53
    abolabo opened #1231
  • Sep 15 14:42
    srakl edited #1230
  • Sep 15 14:41
    srakl opened #1230
  • Sep 14 09:48
    nightw0lv commented #1228
  • Sep 12 20:05
    ApacheEx milestoned #1217
  • Sep 12 20:05
    ApacheEx labeled #1217
  • Sep 12 20:05
    ApacheEx labeled #1217
  • Sep 12 19:55
    ApacheEx labeled #1221
  • Sep 12 19:55
    ApacheEx commented #1219
  • Sep 12 19:54
    ApacheEx labeled #1219
  • Sep 12 19:54
    ApacheEx labeled #1219
  • Sep 12 19:53
    ApacheEx labeled #1221
  • Sep 12 19:53
    ApacheEx labeled #1221
  • Sep 12 19:53
    ApacheEx commented #1221
  • Sep 12 19:53
    ApacheEx commented #1221
  • Sep 12 19:46
    ApacheEx closed #1126
  • Sep 12 19:46
    ApacheEx commented #1126
Saish
@Saish13

public function fbSignUp($request, $response) {

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

            $adapter = new \Hybridauth\Provider\Facebook( $config );

            try {
                $adapter->authenticate();

                $userProfile = $adapter->getUserProfile();
                $tokens = $adapter->getAccessToken();
                $_SESSION['user'] = $userProfile;
            }
            catch( Exception $e ){
                echo $e->getMessage() ;
            }
}
this is the authentication function, I am using HybridAuth v3. Could any one please point me in the right direction ?
cookieman768
@cookieman768
@PowerKiKi
Thank you for the response.
Yamakasi
@Yamakasi
Hi guys, I'm confused about V2 vs V3 now
Oleg Kuzava
@ApacheEx
pls use v3. That's it ;) v2 is no longer supported (only critical fixes)
Yamakasi
@Yamakasi
@ApacheEx I know but the examples ae they V2 or V3 now ?
*are
Adrien Crivelli
@PowerKiKi
@ApacheEx v3.0.0-rc.1 has been released more than 1 year ago. I think it's time to make a final release, even if doc is incomplete. The current situation is really confusing for new users
I've been using v3 branch for more than 3 years without any issue. The v3 is stable and production ready, even if feature-incomplete, and the releases should reflect that
Yamakasi
@Yamakasi
@PowerKiKi indeed, I use V3 but it stays confusing indeed
I try to disconnect but it doesn't, how can I debug that ?
Yamakasi
@Yamakasi
this is pretty odd, we cannot import that much userdata anymore from linkedin
Yamakasi
@Yamakasi
ok it seems to be pretty clear, now MS owns linkedin the login sucks
Yamakasi
@Yamakasi
morning guys! are there issues with the LinkedIn V2 API ? I get not enough permissions in any way
Yamakasi
@Yamakasi
anyone alive ?
Yamakasi
@Yamakasi
why are PR's and tickets processed that slow on github ?
Yamakasi
@Yamakasi
hello ?
Zahid Shaikh
@zahidshaikh
I want to contribute and make the documentation better
its incomplete
and i cant get to display the user profile fields even after successful login
jeez no one's here
AshAlom
@AshAlom
Has anyone had any luck adapting this to work with the new "Sign in with Apple" feature?
Lioxor64
@lioxor64

Hello, my name is Liora and I am currently hunting open source projects for company NeuraLegion (www.neuralegion.com)
We just launched a free annual subscription for open source projects for our AIAST tool NexPloit.

If you are interested, please, reach us on opensource@neuralegion.com!

Thank you for your time and consideration! If you have any questions, please do not hesitate to contact us!

Best,

agbarbosa
@agbarbosa
Hey guys… first of all, whoever created the hybridauth plugin, I am a fan already!
I need some support for making it work for an wordpress site trying to authenticate users for the EVE Online game
I need to validate some users in the website and provide access permission depending on their participation on the game
the problem I'm facing is when EVE SSO return the Response to the hybridauth base_url (EVE Callback URL).
agbarbosa
@agbarbosa
"PHP Fatal error: Uncaught Hybrid_Exception: You cannot access this page directly."
test
@test63587011_twitter
hello
vzangloo
@vzangloo
Hi all
having problems using the algorithm from example 07 (multiple providers), unable to login facebook
Bertrand Gorge
@bertrandgorge

Hello all, I'm trying to migrate a project from HybridAuth 2.xx to 3.00, and I'm facing an issue with the following call to "Hybrid_Endpoint":

    require_once( "Hybrid/Auth.php" );
    require_once( "Hybrid/Endpoint.php" );
    Hybrid_Endpoint::process();

I haven't seen that too much in the 2.xx documentation, but it appears quite a lot in many examples on the web, as well as in the code I try to migrate.

Apparently, in my code, there's either a login or process (the first calls authenticate(...) and the second process(...)
Should I just comment that part ? Not clear from the migration guide!
Thanks for any help !
Bertrand Gorge
@bertrandgorge
^^ Fixed - thanks !
HLonare
@hlonare_twitter

Hi I added hybridauth to my library folder and included it like this:
//Include Hybridauth's basic autoloader
include APPPATH.'libraries/hybridauth/src/autoload.php';

//Import Hybridauth's namespace
use Hybridauth\Hybridauth;

but when I create an object of hybridauth class like this:
$hybridauth = new Hybridauth\Hybridauth($config);
its throwing an error
Class 'Hybridauth\Hybridauth\Hybridauth' not found
HLonare
@hlonare_twitter
hi anyone here
can help me with this issue
@ApacheEx ?
Pavel Nikolov
@pavkatar
Hi all, have strange question, which I can not find answer for. We are developing mobile app with API beckend. For the web version we are depending on HybridAuth. We want to use it for mobile too, but only for fetching user data for already generated access token. The mobile app will generate the access token and will provide it to the API for obtaining user information. Is this possible with the current implementation? What we've tested is: if we extend the Provider class and store the access token manually, intitialize the provider, we can obtain the data. But this is with 'hacks' and overwriting your protected methods. Is there any better solution for this?
1 reply
$providerAdapter->storeData('access_token', '');
$providerAdapter->initialize();
$profile = (array)$providerAdapter->getUserProfile();
motorlesha
@motorlesha
Hello @ApacheEx ! Thank you for really cool project! We have one issue with installing library with composer. Please look at this file https://github.com/hybridauth/hybridauth/blob/3.2.0/src/Provider/Instagram.php in version 3.2 it is different with master https://github.com/hybridauth/hybridauth/blob/master/src/Provider/Instagram.php it is really strange. could you please upgrade version and include insta fix into package? Thanks!
Geepup
@Geepup

Hi, I have small test for social login using Hybridauth. Its working with Google, Github, Twitter, LinkedIn, but not with Facebook. Any idea why not? This is my code:
<?php
session_start();
include 'hybridauth/src/autoload.php';

$callback = "https://$_SERVER[HTTP_HOST]" . strtok($_SERVER["REQUEST_URI"], '?'); // callback to this script
$config = ['callback' => $callback, 'keys' => ['id' => 'xxxxxxx', 'secret' => 'xxxxxxxxxxx' ],];
$provider = new Hybridauth\Provider\Facebook($config);

$provider -> authenticate();
$userProfile = $provider -> getUserProfile();
$provider -> disconnect();
echo "<pre>" . print_r($userProfile, true) . "</pre>";