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

User registration with email via Facebook login #122

Closed
Bulva opened this issue Sep 5, 2017 · 1 comment
Closed

User registration with email via Facebook login #122

Bulva opened this issue Sep 5, 2017 · 1 comment
Labels

Comments

@Bulva
Copy link

Bulva commented Sep 5, 2017

Hi Philip,
I started with your library and it is really easy to setup, but I have some problems and probably misunderstanding with registraton of users (something like #4).

Everything from your tutorial works as expected (e.g. convert_token). But I don't understand the registration of users. If I access this url localhost:8000/auth/login/facebook/ I've redirected to facebook app login page. I permit using the email and my account and then I am redirected to localhost:8000/accounts/profile/#=. This all is OK.

But I expect that new user account related to facebook account will be in auth_user (native django table). This is probably bad expectation. I found new record in Social Django -> User Social Auths. Looks like this:
selection_010

Is this thinks as a user registration? Uid should be user identification of facebook I expect. So how can I make custom profile information for the user which will be populated during the user using the app? Because there is not an email, or something which I can use for joining to auth_user table. And like the user there is my superuser which registered the Django app.

Best regards
Bulva

@PhilipGarnero
Copy link
Collaborator

Hello Bulva,

You can read about email association in the doc of python social auth

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

No branches or pull requests

2 participants