Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty email with Facebook registration #355

Open
nioperas06 opened this issue Aug 25, 2017 · 6 comments
Open

Empty email with Facebook registration #355

nioperas06 opened this issue Aug 25, 2017 · 6 comments

Comments

@nioperas06
Copy link

I'm trying to do registration with Facebook Account. When I gave an Facebook access token, a new user has been created but email is set to null. I have something like this:
{ "token": "somejwttoken", "user": { "pk": 5, "username": "richard", "email": "", "first_name": "Richard", "last_name": "Sharpesen" } }
What's wrong?

@nioperas06 nioperas06 changed the title Empty email with Facebook login Empty email with Facebook registration Aug 25, 2017
@mafia99
Copy link

mafia99 commented Sep 28, 2017

@nioperas06 where you able to fix this issue? because I am facing the same issue. This is only on django rest auth. If I try facebook login using allauth i.e via /accounts/facebook/login I get email as well.

@dudanogueira
Copy link

I am facing this Issue here too. Did not try the allauth part. But at the REST AUTH api, some times, it do not come with email.

@soccer99
Copy link

Getting the same issue!

@ipasic
Copy link

ipasic commented Jan 21, 2019

Same on my side, how to fix this?

@Alihassanc5
Copy link

I had the same problem, Adding "email" scope in request will solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@dudanogueira @mafia99 @soccer99 @ipasic @nioperas06 @Alihassanc5 and others