Questions tagged [hybridauth]

Open source social sign on PHP Library. HybridAuth's goal is to act as an abstract API between your application and various social APIs and identities providers such as Facebook, Twitter, MySpace and Google.

HybridAuth is an open source PHP library to allow you to connect to popular social site APIs (like and ) and single sign-on services (like ). It acts as a wrapper for all these services, with a common interface that makes it easier to work with multiple services from a single application.

From their website

HybridAuth enables developers to easily build social applications to engage website visitors and customers on a social level by implementing social signin, social sharing, user profiles, friends list, activities stream, status updates and more.

The goal of HybridAuth is to act as an abstract API between your application and various social APIs and identities providers such as Facebook, Twitter, MySpace and Google.

Resources

288 questions
3
votes
0 answers

Facebook returned an error: OAuthException: An active access token must be used to query information about the current user

I am getting this issue while logging in sometime, After search I got that its related to something session/cookie that already exist of previous login. But still couldn't found the solution. here is my code: $auth = new…
naCheex
  • 1,131
  • 3
  • 14
  • 34
3
votes
1 answer

HybridAuth not working with ajax

I'm trying to implement HybridAuth with ajax. Code: PHP: (will be called by ajax)
Fabian Lurz
  • 2,029
  • 6
  • 26
  • 52
3
votes
3 answers

Error: Drupal 7 HybridAuth Social Login

I installed drupal 7 hybridauth https://www.drupal.org/project/hybridauth. I configured the module for Google, Facebook, Twitter and LinkedIn. They are working well except Google. According to the HybridAuth Module instruction I went to…
3
votes
2 answers

Cannot catch an Exception while authenticating user with HybridAuth

I'm creating a WordPress plugin that automatically publishes the post to Facebook when a new post is added to the site. For the same reason user needs to authenticate his Facebook account. The code I use for this purpose is:- try { …
3
votes
1 answer

what scope should I use (google login with hybridauth / oauth)

I am building a website with google login using hybridauth. I just want some basic info such as email, userid and username but I cannot set the scope correct. It keeps ask for "have offline access" I tried each of these url in the…
John
  • 143
  • 1
  • 9
3
votes
2 answers

HybridAuth Facebook returned an invalid user id

I am getting the following error: Authentication failed. The user has canceled the authentication or the provider refused the connection. Original error message: Authentication failed! Facebook returned an invalid user id. tried a lot of things…
spyfx
  • 1,311
  • 4
  • 14
  • 24
3
votes
1 answer

Why I am request email scope for oauth, Facebook also show I need to access friend list?

I am integrating Facebook login in my web app, and I was able to generate a redirect url…
Ryan
  • 10,041
  • 27
  • 91
  • 156
3
votes
4 answers

Can I pass a variable to the callback url after facebook app authentication

I am using hybridauth to log users into my php site via facebook. $hybridauth = new Hybrid_Auth( $config ); $facebook = $hybridauth->authenticate( "Facebook" ); $facebook_user_profile = $facebook->getUserProfile(); ($config contains the id and…
Finglish
  • 9,692
  • 14
  • 70
  • 114
3
votes
0 answers

HybridAuth keeps giving "User profile request failed. Most likely the user is not connected to the provider and he should to authenticate again."

I am trying to implement HybridAuth Login for facebook. but it keeps giving me the above error.I tried redirecting the user to the facebook login page again after this error occurs but this results in a loop. Please help me.This is my code. public…
Mj1992
  • 3,404
  • 13
  • 63
  • 102
3
votes
2 answers

Configure Facebook in Hybridauth for Yii Framework

I'm using Yii framework and HybridAuth for social login action,i have google and yahoo works fine, but i can't make facebook and twitter to work. Do i need an Https:// domain for that ? or is just some configuration to add ? When i try to login…
ImadT
  • 491
  • 1
  • 5
  • 21
3
votes
2 answers

Hybrid auth with Yii causing a redirect loop

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…
ajaybc
  • 4,049
  • 7
  • 44
  • 57
2
votes
0 answers

Window not close after auth hybridauth v3

I installed the Hybridauth V3 and work correctly. My test was on google (example 7)and works fine but the popup doesn't want to close. How can i fix the problem from the callback script or Google for example to close the window ? My html…
Gary
  • 81
  • 1
  • 6
2
votes
1 answer

Social Login with hybridauth Error

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…
sNniffer
  • 210
  • 2
  • 19
2
votes
0 answers

hybridauth basic user database

I'm starting to use hybridauth.github.io to integrate login with FB/Twitter/Google to my site besides the existing regular email/password login. Is there a basic common fields I should save from these methods or just the email and "login type" would…
diegoarg79
  • 111
  • 1
  • 6
2
votes
0 answers

Hybridauth library in Codeigniter does not work for facebook login

I'm trying to implement facebook login in my website using Hybridauth library in codeigniter. I created an application on facebook and added required info (App Key & Secret Key) in hybridauth config file. My issue is when i try to login with…
Ganesh Gadge
  • 366
  • 2
  • 17
1 2
3
19 20