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/

388 questions
24
votes
3 answers

Connect with Facebook in Django Rest Framework + Django Social Auth

I'm using Django Social Auth for connect with Facebook issue and it works perfect. I have developed an API for my Django app with Django Rest Framework. But I'm confused about using Django Social Auth with Django Rest Framework for iOS devices. I…
TheNone
  • 5,078
  • 10
  • 46
  • 95
20
votes
1 answer

django-social-auth django-registration and django-profiles -- together

Has anyone used django-social-auth, django-registration and django-profiles together. Do they work well together? I have established social-auth but I read somewhere that django-allauth is better. Should I switch over to that? Please…
Sachin
  • 3,432
  • 7
  • 50
  • 94
19
votes
4 answers

How can I handle Exceptions raised by django-social-auth?

In django-social-auth, there are a few instances where a backend will raise a ValueError (such as when a user cancels a login request or if a user tries to associate with an account that's already been associated with another User). If a User runs…
Brad Montgomery
  • 2,501
  • 1
  • 22
  • 24
17
votes
1 answer

is not JSON serializable - django social auth Facebook login

I'm trying to login with Facebook with Django-Social-Auth But I'm getting this error: TypeError at /complete/facebook/ datetime.datetime(2014, 4, 25, 22, 20, 14, 665216, tzinfo=) is not JSON serializable This is my login template:
Filipe Ferminiano
  • 6,874
  • 20
  • 89
  • 155
15
votes
5 answers

AuthAlreadyAssociated Exception in Django Social Auth

After I create a user using say Facebook(let's say fbuser) or Google(googleuser). If I create another user through the normal django admin(normaluser), and try logging again using Facebook or Google while third user(normaluser) is logged in, it…
ramdaz
  • 1,607
  • 1
  • 18
  • 41
14
votes
3 answers

How to get rid of the #_=_ in the facebook redirect of django-social-auth?

django-social-auth redirects me to /mypage#_=_ when using the the Facebook backend. As I am working with jquery mobile on the front end, I can not accept that. I found: https://developers.facebook.com/blog/post/552/ on the facebook developers…
wzr1337
  • 3,099
  • 4
  • 25
  • 46
12
votes
4 answers

Create user notification system in Django

I am adding a system to leave "notifications" for users that can be displayed the next time they log in. I created a simple Notification class in the models.py file. I have this UserInfo class (in the same models.py) to add on some attributes to…
gohnjanotis
  • 3,921
  • 3
  • 31
  • 45
12
votes
1 answer

How can I use Django Social Auth to connect with Twitter?

I'm trying to use the Django Social Auth package to connect with Twitter, but I'm having difficulty understanding how exactly to do this as I can't find any examples. I am assuming that Django Social Auth is the best package to use for this…
djq
  • 13,348
  • 42
  • 111
  • 148
10
votes
3 answers

Save facebook profile picture in model using python-social-auth

How to store the get Facebook profile picture of a user while logging in through Facebook and saving it in my userprofile model. I found this link which says how to do so using django-social-auth, https://gist.github.com/kalamhavij/1662930. but…
Salma Hamed
  • 1,830
  • 2
  • 25
  • 43
10
votes
2 answers

django social-auth multiple account association

I am using django social-auth (http://django-social-auth.readthedocs.org/en/latest/index.html) and trying to create a user profile where the user can associate multiple accounts (like here on Stackoverflow). Currently I am at the point where single…
Asterisk
  • 3,436
  • 2
  • 32
  • 52
9
votes
3 answers

How not to set the user's email address in django social-auth

I have django social-auth installed (from omab) and the users have an email address in database that is the one I want to keep but when the users log in from facebook using social-auth, their email gets replaced by the one they have in their…
Bastian
  • 4,813
  • 10
  • 39
  • 61
9
votes
2 answers

unhashable type when redirecting back to the website using python-social-auth in Django

I'm trying to add a social media authentication to a website using Social-auth-app-django. So I've created different apps for the most popular social media websites (Facebook, Twitter, Google+), and have set the callback url there. But I'm coming…
Hakim
  • 2,479
  • 4
  • 33
  • 68
9
votes
4 answers

python-social-auth not getting correct Google OAuth2 details

I want to login a user using the python-social-auth functionality for Google Plus signin in Django. When logging in from my website, everything works fine and the correct details are added to the database. However, I want to authenticate from my…
8
votes
3 answers

Logout with django-social-auth

I am dabbling a little with django-social-auth using twitter authentication. I can login. But, when I try to log out using django.contrib.auth.logout, it doesn't log out. What's the way to logout? Thanks.
rookieRailer
  • 2,277
  • 2
  • 27
  • 46
8
votes
1 answer

django-social-auth redirect_uri invalid

I've been banging my head against the wall trying to get django-social-auth working. My dev server is a server in a private network at my work, accessed by a 10.0.0.* IP Address. We have multiple django apps running on this server. Here's the config…
James Rasmussen
  • 619
  • 8
  • 22
1
2 3
25 26