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 - Importing extra field after user signup

I am using Django social auth for the registration and login of my users through Google+ API. I managed to import extra fields like the URL of the profile picture for instance. However, I would like to import a new extra field (the language of the…
Tanzaho
  • 1,362
  • 12
  • 20
0
votes
1 answer

django-social-auth with custom user model and overridden save() method

I'm using django-social-auth, and I'm really impressed by its simplicity, however I use a custom user model and I overrided the save() method in order to set a default computed value for a field I need, the problem is that save() is not called by…
daveoncode
  • 18,900
  • 15
  • 104
  • 159
0
votes
0 answers

Connecting Social Auth to MongoEngine models gives errors

After doing necessary modifications in my settings.py file as explained in MongoEngine and Social Auth documentations, I added this code finally: AUTH_USER_MODEL = 'mongo_auth.MongoUser' SOCIAL_AUTH_MODELS =…
0
votes
1 answer

Disable user registration with django-social-auth

I would like to know if anyone knows if there is a way to make django-social-auth throw an error if the social account is not associated to a site account and not to register a new user?
0
votes
1 answer

Django Social Auth redirects to error page

I was trying to use the social authentication on my application. Until now, I did not face with any problem. However in this application I am using Django 1.5.1 and application redirects me to error page and I can not find any solution or…
grgizem
  • 311
  • 3
  • 11
0
votes
0 answers

django-debug-toolbar middleware with django-social-auth context processor = InternalError

the error is: Exception Type: InternalError Exception Value: current transaction is aborted, commands ignored until end of transaction block TB: /usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py in execute_sql except…
user2323711
  • 843
  • 1
  • 7
  • 13
0
votes
1 answer

Django - Social_Auth - Facebook Logout - NotAllowedToDisconnect

I have used django package social_auth to implement facebook login on my website. I am able to log in correctly and get all the data. But I am not able to logout. I am not using django.user.login and logout. I am using socialauth_begin and…
Pratik Poddar
  • 1,353
  • 3
  • 18
  • 36
0
votes
1 answer

django social auth , create user model with email as primary key

I am trying to integrate django social auth for my website which will have Facebook and Google login. I am trying to customize the user model to make email as primary key. Any advice ? I tried creating a UserModel also but ended up with errors. i…
user1159517
  • 5,390
  • 8
  • 30
  • 47
0
votes
1 answer

Django authentification with GitHub via social_auth

I try to build some minimalistic example of github autentification with social_auth. I do everything like in documents but have some problem. Can anybody explain how to determine this problem? This is my setting accorded to…
kharandziuk
  • 12,020
  • 17
  • 63
  • 121
0
votes
0 answers

django template url tag causes maximum recursion exceeded error

I am using django 1.5.1 and django social auth for my social logins. To get the facebook login url I use this from django.template import Template, Context facebook_url = Template("{% url 'socialauth_begin' 'facebook' %}").render(Context()) Only…
k c
  • 211
  • 1
  • 2
  • 15
0
votes
1 answer

Django linking accounts after signup using social_auth

I'm using social_auth and userena for registration on my website. People sign up with facebook/twitter or just using userena. I have been asked to investigate allowing users to link their Facebook account so that the Django app can post on there…
GrantU
  • 6,325
  • 16
  • 59
  • 89
0
votes
1 answer

can't save model instance in pipeline method of django-social-auth

Today I discovered something weird, and I need an explanation please. This is my current pipeline of django-social-auth SOCIAL_AUTH_PIPELINE = ( 'social_auth.backends.pipeline.social.social_auth_user', …
Daniel Flores
  • 770
  • 3
  • 12
  • 31
0
votes
2 answers

Django Social Auth Partial Pipeline: AuthTokenError

I am trying to implement a Twitter sign in using Django Social Auth. I have added a partial pipeline where I gather extra details from the user using a form (DOB, email, etc). My problem is that I want to skip this pipeline if the user already…
m1ket
  • 388
  • 1
  • 12
0
votes
1 answer

Facebook does not logout when using django-social-auth social_auth disconnect

I am using Django 1.5 and django-social-auth. I am able to login with facebook using the template: Later I use the disconnect…
Iñaqui
  • 251
  • 4
  • 9
0
votes
1 answer

django social auth error after completing pipeline

I am using django social auth to power facebook connect in my app (admittedly with a little complicated user model and legacy database). I was redirected to error page and seem to be running into an error AFTER completion of pipeline( redirect as…
nik-v
  • 753
  • 1
  • 9
  • 20