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
8
votes
5 answers

django-social-auth : How to redirect example.com to 127.0.0.1:8000?

I am sure many Django developers must come across this issue when using the social-auth. Initially when you develop it, you would like to test it on your local server, hence you would redirect the domainname in your etc/hosts. I came along this in…
Houman
  • 58,044
  • 75
  • 235
  • 407
7
votes
7 answers

Check if current user is logged in using any django social auth provider

I would like to check if a user is logged in via social authentication or using the django default authentication. something like if user.social_auth = true?
vinCi
  • 81
  • 1
  • 7
7
votes
1 answer

How to have unique emails with python social auth

I'm using Python Social Auth (django) with Google and Facebook and it creates different users with the same email. How do I fix that? If I log first with google, logout and then with facebook, it must just associate the accounts and not…
Juliana
  • 517
  • 4
  • 16
7
votes
1 answer

How do I get Django 1.5 Custom User Model and Social Auth to work?

Django Social Auth (0.7.22) is reported to support Custom User Models but I have no been able to get this to work. In my case I am using Google's Oauth2 which I have working with a non-custom-user-model. With the Custom User Model I get correctly…
7
votes
1 answer

Django: Full fledge Facebook and Twitter integration (Django-Facebook, django-social-auth, django-allauth)

Before I post my question I would like to tell you that I'm aware of few excellent django packages out there for twitter and facebook integration: Django-Facebook django-social-auth django-allauth So, here's my question: What I want? I want…
6
votes
2 answers

Django Social Auth Debug HTTP Error 400: Bad Request (linkedin)

I've been using Django Social Auth and I've been able to login using both Facebook and Twitter. But I've been getting a HTTP 400 error when I tried it with linkedin. I've been getting the following error: Sorry but some error made you impossible to…
ip.
  • 3,126
  • 5
  • 29
  • 41
6
votes
2 answers

Confusion on using django socialauth

http://github.com/uswaretech/Django-Socialauth/tree/master/socialauth/ I'm a bit confused on how I should use this. Of course, I read the notes at the bottom but I'm a Django novice so I'll need a little hand holding. The structure of this looks…
meder omuraliev
  • 171,706
  • 64
  • 370
  • 423
6
votes
1 answer

can't run the python-social-auth example django app

Apologies for the basic question. I am a user of django-social-auth but can't get python-social-auth off the ground. I have downloaded the example app, successfully sync'ed the db, and added my working facebook, linkedin and twitter app keys to…
guyf
  • 83
  • 1
  • 8
6
votes
1 answer

Can't dynamically redirect to last visited page with django social auth

When on a specific event page. The user can login using django social auth, but will redirect them to a static url, with the option below SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/dashboard/' I was wondering if there is a dynamic way of redirecting to…
Matthew Harrison
  • 790
  • 9
  • 17
6
votes
2 answers

How to login using facebook in development environment using django social-auth?

I'm using social-auth with my django web app. When I go to /login/facebook in the production environment, the user is able to login using their facebook data. However in my development environment when I access…
sharataka
  • 4,602
  • 19
  • 57
  • 113
6
votes
2 answers

django-social-auth : connected successfully, how to query for users now?

I have started using https://github.com/omab/django-social-auth and been successfully able to login via twitter, google and facebook. Needed I need to query about the logged in user in order to do more things, which Model I shall be using for…
daydreamer
  • 73,989
  • 165
  • 410
  • 667
6
votes
1 answer

django-social-auth : did not save twitter's email

when I access 127.0.0:8000/associate/twitter, my django get all the twitter's information except for the email address. there is no problem in accessing 127.0.0:8000/associate/facebook, i was just wondering why my django did not get the email of…
gadss
  • 18,755
  • 34
  • 96
  • 139
5
votes
2 answers

Using the OAuth Access Token from django-social-auth with Google data api (calendar)

I'm trying to use the OAuth Token I get from django-social-auth to access the users calendars. So in the django-social-auth configuration I set: GOOGLE_CONSUMER_KEY = 'anonymous' GOOGLE_CONSUMER_SECRET = 'anonymous' GOOGLE_OAUTH_EXTRA_SCOPE =…
Kai
  • 2,105
  • 2
  • 28
  • 41
5
votes
0 answers

Django social with apple oauth sends final redirect without cookies

We are trying to get apple oauth working for a web app with a django backend using django-social. The initial login request sets a sessionid cookie but the final auth/complete request doesn't send any of the browser's cookies. No errors in the…
5
votes
2 answers

Django-Socialauth or django-social-auth, which one is the best?

I am looking for a Django application to implement Facebook-connect, and I have found 2 options that look pretty stable: https://github.com/agiliq/Django-Socialauth/ https://github.com/omab/django-social-auth They seem to be forks of each other,…
1
2
3
25 26