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
3
votes
0 answers

Can't get python-social-auth to redirect to my custom urls after authentication

I would like python-social-auth to redirect to /?ref=twitter if user logs in through twitter, and /?ref=google if they login through google-oauth2. I installed the django version of the python-social-auth library using pip install…
Optimus
  • 2,716
  • 4
  • 29
  • 49
3
votes
2 answers

social-auth-app-django facebook backend state with redirect_uri

I know my question sounds like a duplicate, but I've looked everywhere without finding any solution. I am working on implementing social logins for my django webapp. So far google, twitter and yahoo logins have worked as expected. But facebook…
chidimo
  • 2,684
  • 3
  • 32
  • 47
3
votes
1 answer

Does someone use Django-Socialauth successful

I am using Django-Socialauth , my site is here But I'm not successful now, I think Django-Socialauth lacks a method that get user data from openid_response. Can anyone give me successful demo about it?
zjm1126
  • 34,604
  • 53
  • 121
  • 166
3
votes
1 answer

AttributeError at /account/login/oauth/complete/facebook/ 'NoneType' object has no attribute 'userprofile'

I have a problem, that instead of "User" Facebook account info is of "NoneType" type, so I can't save image as extended user model information (userprofile) after first facebook social authentication. If any additional information is needed please…
user7275377
3
votes
2 answers

Django socialauth: what is the best fork?

i'm trying to install socialauth in my django application to have openid and facebook login, but it seems there are various versions of socialauth: uswaretech which has a poor doc, a very bad template system elfsternberg which is defended by this…
Mermoz
  • 14,898
  • 17
  • 60
  • 85
3
votes
1 answer

SocialAuth : Invalid Scopes: read_stream

I am implementing signup from facebook. I am using latest SocialAuth spring library: socialauth-spring-2.6.jar And I just fallowing sample application given by socialauthdemo application. My url is:…
Sun
  • 3,444
  • 7
  • 53
  • 83
3
votes
2 answers

django-social-auth redirect after login

After google's login, I want to be redirected to my page. This is what I do Google But still I get redirected to /accounts/profile How can I make django socail auth redirect…
Jenia Ivanov
  • 2,485
  • 3
  • 41
  • 69
3
votes
4 answers

Add users logged in through Python Social Auth to a group

When users are signed up through Python Social Auth, they get created as users in my database, which is fine and dandy, however I want them to be added to a certain group upon user creation. How to do that?
Orca
  • 2,035
  • 4
  • 24
  • 39
3
votes
2 answers

Problem with facebook connect button in chrome (we are using django and django-socialauth)

We are using django and django-socialauth for auth with google/fb/twitter but there is a problem with the facebook connect button only in chrome (neither safari), dont shows the button.
diegueus9
  • 29,351
  • 16
  • 62
  • 74
3
votes
1 answer

Django OAuth2 Error: invalid_client and client_id=None when client_id has been provided

I am using django-social-auth for google apps authentication for my django project. I obtained the client id and secret key from Google api console for my domain. And plugged in the values in my app as follows: **settings.py** …
3
votes
1 answer

Django model not saving when calling save()

so i am trying to save a django model, and for some reason i am only getting a 500 internal server error. the thing is, if i comment the social_auth.save() it works and i can manipulate the object, but not save it why is this happening? i am…
psychok7
  • 5,373
  • 9
  • 63
  • 101
3
votes
0 answers

django social auth with custom user model is not working

i am trying to implement django social auth in my project and i am having trouble integrating it with my custom user model. Whenever i try to login to facebook, it is throwing an error and always re-directing to LOGIN_ERROR_URL Page. My settings.py…
Dev
  • 1,529
  • 4
  • 24
  • 36
3
votes
2 answers

django-social-auth create new user programmatically by facebook_id

Is there any way to create User and UserSocialAuth objects without actually loggin in but only having FACEBOOK_ID of a user you want to create an account for? I'm creating a simple app where user can select a friend from FB and create some model…
zjor
  • 994
  • 2
  • 12
  • 22
3
votes
2 answers

WrongBackend at /login/error/ Incorrect authentication service "error"

I'm trying to implement social media authentication via BitBucket, Github, LinkedIn and am getting the error WrongBackend at /login/error/ Incorrect authentication service "error" for both LinkedIn and Bitbucket and QueryDict: {u'error':…
Shrikrishna Holla
  • 256
  • 1
  • 2
  • 11
3
votes
2 answers

Django-social auth KeyError

I am getting KeyError in my partial pipeline when I try to register with twitter accounts while facebook accounts work fine. This is odd because the same function is working fine with facebook users. The error message is as below: KeyError at…
taelimoh
  • 1,003
  • 1
  • 11
  • 24