Questions tagged [django-socialauth]

python-socialauth is the new port from django-social-auth to a more general solution for social authentication/authorization.

django-socialauth is a social authentication/authorization mechanism for Django projects. It provides user registration, login and connection using social sites credentials. The following providers are available:

Google OpenID Google OAuth Google OAuth2 Yahoo OpenID OpenID (like MyOpenID) Twitter OAuth Facebook OAuth LiveJournal OpenID Orkut OAuth LinkedIn OAuth

The projects code is hosted @ https://github.com/omab/django-social-auth

Documentation is available @ http://django-social-auth.readthedocs.org/en/latest/index.html

A Demo is available @ http://social.matiasaguirre.net/

414 questions
0
votes
1 answer

Django Social Auth store username from Facebook in Custom User Model

I've just integrated Django-Social-Auth (DSA) v0.7.23 using django 1.5 with a custom User model and auth/login is working fine except for the username field which is not being stored in my custom User model. Stepping through the DSA code it appears…
Dana Ford
  • 205
  • 1
  • 4
  • 7
0
votes
1 answer

How to remove django_social_auth

I want to switch to django_allauth from django_social_auth. I ran: pip uninstall django_social_auth and this completed successfully. However I can no longer run syncdb because of the error: ImportError: No module named social_auth
Ben
  • 4,301
  • 6
  • 37
  • 61
0
votes
0 answers

Django-Social-Auth force user grant permission

I'm create and facebook app that must require publish_stream to publish some information on user's wall. But when user interact with auth dialog they have an option skipping publish on your wall with your behave. So I have to ask if…
James
  • 13,571
  • 6
  • 61
  • 83
0
votes
1 answer

django social auth integrate "register with email"

I am using django social auth in my project and wanted to add email registration on my website as well. I can think of hacking it in since I have played with DSA quite a bit now, but this seemed like a pretty standard problem people using DSA would…
nik-v
  • 753
  • 1
  • 9
  • 20
0
votes
1 answer

error when trying to connect to twitter with django social auth

ImportError at /complete/twitter/ No module named social.pipeline i had this error when i was trying to connect twitter to my project this is the full traceback any body has any idea how to solve it Environment: Request Method: GET Request URL:…
0
votes
1 answer

error when trying to use social auth to register with twitter

I had this error when I tried to make the registration with twitter with social auth app: TypeError at /login/twitter/ issubclass() arg 1 must be a class Does anybody have any idea what causes this? I copied all the mandatory things in the…
0
votes
0 answers

Django social auth return json on successful or failed login

I am quite new to django and I am writing an application where I want to separate the client ant the server-side as much as possible so that multiple clients can access my server-side functionality. Right now I am using Django social auth with…
semone
  • 171
  • 6
0
votes
1 answer

django social auth not returning first_name and last_name when creating a profile - django 1.5

Am using a custom user model to maintain user details with django 1.5, below is my code. When using social auth, everything seems to be working fine accept first_name and last_name. In my table table structure, I do not have first_name and…
Mo J. Mughrabi
  • 6,747
  • 16
  • 85
  • 143
0
votes
1 answer

django social auth pre_update signal is not getting fired when upgrading to django 1.5

I had the below code which was working perfectly in django 1.4, since I upgraded everything in the code remains functional accept for the signal is not being fired at all. Previously, when I was on 1.4, I was using user Profile to maintain user…
Mo J. Mughrabi
  • 6,747
  • 16
  • 85
  • 143
0
votes
0 answers

How can I make Google OAuth2 authentication work?

I'm using the excellent Django Social Auth app to handle logins from a variety of services. This works nicely with Twitter, Facebook and LinkedIn but I can't figure out why it will not work with Google. I have got this message numerous times trying…
djq
  • 14,810
  • 45
  • 122
  • 157
0
votes
1 answer

Django social auth for facebook giving an error

I am using: django-social-auth v 0.7.19 django 1.4.3 models.py: class UserProfile(models.Model): user = models.ForeignKey(User) username = models.CharField(max_length = 64, blank = True, null = True) last_login =…
Zain Khan
  • 3,753
  • 3
  • 31
  • 54
0
votes
1 answer

Django: allauth facebook

I have a login button in my site, which opens facebook login in new window, ask user to login fetch neccesary informations and immediately logout that user and close that temporary window. Problems comes when next user again click login button new…
0
votes
0 answers

Django-social-auth: Split what permissions are asked for from Facebook

Facebook recommends that you only ask for the permissions needed when needed. I have en Django app with facebook sign in and also a function to post to facebook. At the moment I ask for both permissions on signup using django-social-auth. So in my…
Christoffer
  • 7,436
  • 4
  • 40
  • 42
0
votes
1 answer

How to pass context defined in setting TEMPLATE_CONTEXT_PROCESSORS to my custom views

I'm having this problem while using Django Social Auth. I Have this template. {% block content %}
0
votes
1 answer

django-social-auth facebook login keeps overwriting same user

I implemented django-social-auth and got it to authenticate me with Facebook. I would like it to also create a new user in the system, and write the email, name, and phone number if possible. However, each time i log in with a user, it keeps…
R0b0tn1k
  • 4,256
  • 14
  • 46
  • 64