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
8
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
  • 91
  • 1
  • 7
8
votes
2 answers

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
  • 651
  • 1
  • 9
  • 22
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
  • 64,245
  • 87
  • 278
  • 460
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,306
  • 6
  • 32
  • 42
6
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,205
  • 3
  • 32
  • 43
6
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…
6
votes
2 answers

Can't load URL: The domain of this URL isn't included in the app's domains. Django Facebook Auth

I have been using facebook login for my Django App. Recently facebook had updated its security feature, by enabling Strict Mode for all apps. After this change users are not able to login into site as it says below error Can't load URL: The domain…
Prithviraj Mane
  • 230
  • 1
  • 15
6
votes
2 answers

Django Social Auth not redirecting to next url?

So I want to redirect after login to the same page. But Django Social Auth isn't redirecting. It redirects to "/pins/#_=_ Html: Facebook Login Urls.py url(r'^$',…
Coderaemon
  • 3,619
  • 6
  • 27
  • 50
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
  • 183,342
  • 71
  • 393
  • 434
6
votes
1 answer

Native app (hybrid) to use django-social-auth

I already have implemented social authentication using facebook and google in my web application (Django + used django-social-auth). I want my native app built with (Kendo UI + Icenium) to re-use the Oauth from my web application. What is the best…
CIF
  • 1,754
  • 2
  • 18
  • 30
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
  • 81
  • 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
  • 878
  • 11
  • 17
6
votes
2 answers

Collecting extra user data in Django Social Auth pipeline

I'm using Django Social Auth (v0.7.22) for registering users via Facebook, and that is working OK. My doubt is how to collect extra data for new users: How to detect a new user? Where to store the collected data (in the Django session or pass it…
Cartucho
  • 3,257
  • 2
  • 30
  • 55
1
2
3
27 28