Comments (5)
do you have the additional permission in facebook to get the email address?
from hybridauth.
I figured it out: for some reason, fb stopped exposing the email field for my and my other colleague who's also an admin of the app. Regular users are using it just fine. Absurd. Sort of wasted 24 hrs but this prompted me to add a feature on my system so we now know/track how many users are logging in with a certain provider or another, some information we were previously blind about, so that's good. You library works perfectly fine. Thanks 🙏
from hybridauth.
Yes, I do, we are verified, I checked... this has been working for over a year and we did go thru a lot of their privacy reviews to be allowed to retrieve this bloody email.... and yet even on the API explorer it's not giving me back the email, so it seems the issue is on their end. I am opening also a suppot ticket to facebook to ask on their end.
As a side note, I do see here https://github.com/hybridauth/hybridauth/blob/master/src/Provider/Facebook.php#LL56C30-L56C62 that you are calling graph v8 ? They are on v16 and are about to deprecate version 10...
Still, on the api explorer with v16 it tells me my 'field is empty of disallowed by access token' so it must be something with their configuration/permission in the 'app'....
from hybridauth.
So I think it's not a hybridauth issue as much as a FB api issue, after some debugging last night and this morning... but I am not sure it's related to our account/app. I'll keep investigating and let you know if I figure it out :-)
from hybridauth.
Update: it appears that the symptom is only related to SOME user accounts. The better error I was able to get is "The email field was not returned. This may be because the email was missing, invalid or hasn't been confirmed.".
i.e. I am not able to login to the site I work on with my facebook account, but my wife is - I don't get the email returned but she does... so it's definitely something they have changed or broken on their with respect to some user accounts... sorry for the randomization, but it might still be useful to know, I guess :-)
You guys keep up the awesome work!
from hybridauth.
Related Issues (20)
- new release HOT 2
- Help improve authorization through TikTok HOT 2
- CSRF Security Issue with state in Adapter/OAuth2.php HOT 1
- HybridAuth stores previous social account login even after logging out of social account HOT 2
- Linkedin now offers OpenID HOT 1
- Twitter authorization not working HOT 2
- LightOpenID throwing errors and authenticating users with null identifier
- Please release 3.11
- Handling Invalid Client ID and Secret Exception
- Help me fix the problem with authorization through Apple.
- Question : Is google auth concerned by the end of third-party cookies ?
- Amazon Cognito support
- Magento 2 looses customer session after SSO with Apple ID
- Facebook login suddenly stopped working HOT 1
- Is hybridauth abandoned? HOT 2
- Google login return user phone ,address and gender
- 【企业微信支持】Can somebody help to add WeWorkChat Provider?
- Provider for Openstreetmap
- Feature Request - Add ID.me to PHP Library
- curl 30s timeout is too long when issue social provider.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hybridauth.