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
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
  • 5,014
  • 20
  • 65
  • 125
6
votes
1 answer

django-social-auth: logging in from a unit test client

I use django-social-auth as my authentication mechanism and I need to test my app with logged in users. I'm trying: from django.test import Client c = Client() c.login(username='myfacebook@username.com", password='myfacebookpassword') The user…
AmirW
  • 816
  • 9
  • 20
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
  • 87,243
  • 191
  • 450
  • 722
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
  • 21,687
  • 41
  • 104
  • 154
5
votes
2 answers

Flutter google sign in authenticate django social auth for google

I am creating a flutter android app which uses google sign in. Once logged in, I recieve accesstoken and idtoken. I want to use this token to authenticate my backend which uses django social auth and Login and return the authoken, if the user has…
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,…
5
votes
3 answers

Django-Socialauth - How to associate multiple authentication providers to a single user account

Django-Social in its feature list claims that it supports associating multiple authentication providers to a single user account. I can't seem to figure out how to use that feature. When I try to login using a new authentication provider it…
Sarvi Shanmugham
  • 487
  • 4
  • 13
5
votes
1 answer

django rest framework social-auth with jwt

hi im working on SPA django rest framework with jwt and angular 5 . i built login and sign up section. now im looking for a way to add social login or register to my app and have jwt support after deep search i found some module that have very…
5
votes
2 answers

python-social-auth custom redirect url in Django

I am using python-social-auth package along with Django to manage oauth and openID logins. Now the issue is that, I can specify one redirect url in django settings.py, but in some case I want the user to be redirected to the same page from which he…
akhil_
  • 233
  • 1
  • 4
  • 10
5
votes
1 answer

How to update a user's `extra_data` after they have been associated with account?

I've successfully managed to use django-socialauth to associate an account (in this case, an instagram account) with an existing user account. I've also set up my pipeline to collect additional user details: def update_social_auth(backend, details,…
NT3RP
  • 15,262
  • 9
  • 61
  • 97
5
votes
1 answer

django-allauth and twitter integration - Social Network Login Failure

I am trying to work with django-allauth. I followed the instructions at github page and done following: Added allauth urls into urls.py urlpatterns += patterns ('', url('^accounts/', include('allauth.urls')), url('^accounts/profile/$',…
5
votes
1 answer

Why doesn't django-social-auth take into account the next variable when logging in?

If I'm going directly to a page (which requires a user to be logged in) without having logged in, Django's authentication framework takes me to the login page and then redirects to the page I had requested based on the value in the next…
Arpit Rai
  • 1,017
  • 1
  • 13
  • 26
5
votes
2 answers

Extend the social_auth User model in Django

I'm using Django-social-auth for the first time, and it seems that all the new users are registered in the User's model of the social_auth app of my Django website. I have a different model called Users which has some specific data (related to the…
user1115538
4
votes
0 answers

OAuth Callback URL incompatible with nginx proxy server behavior

I have spent a good part of the last 3 days trying every solution that is on the internet and feeling desperate. Here's the problem statement: I have a Dockerized app with three services: A django application with gunicorn (web) A Nginx server…
onlyphantom
  • 8,606
  • 4
  • 44
  • 58
4
votes
0 answers

error Your credentials aren't allowed in django-rest-framework-social-oauth2 google sigin from android

i have installed Django social-auth-app-django==3.1.0 for Django web for google sign in (working fine) but in same project i installed django-rest-framework-social-oauth2 (doc has only facebook example) to client android app to google…
1 2
3
27 28