Questions tagged [python-social-auth]

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.

From its website:

Python Social Auth

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.

Crafted using base code from django-social-auth, implements a common interface to define new authentication providers from third parties. And to bring support for more frameworks and ORMs.

Authentication backends

Python Social Auth supports Google, Twitter, Facebook, GitHub, and many other services out of the box. It also has direct support for OAuth and OpenID. It is designed to be easily extensible.

Links

557 questions
0
votes
0 answers

Django different user types to extend default user type

I'm new for Django. In my project I need to have two different user type: User_type_1: with some custom fields; User_type_2: with some custom fields (different from User_type_1); User_type_1 and User_type_2 have some common fields (username,…
Safari
  • 11,437
  • 24
  • 91
  • 191
0
votes
2 answers

What is the difference between django-social-auth and python-social-auth?

I'm confused very much, because django-social-auth and python-social-auth seem to be the same, but they are not. In fact python-social-auth is based on django-social-auth. Now I can't find any resource that compares those two by any means. I can't…
JasonTS
  • 2,479
  • 4
  • 32
  • 48
0
votes
1 answer

python-social-auth getting nothing but 400 Client Error: Bad Request

I've been trying to get python-social-auth working and all I ever get is the error Client Error: Bad Request which totally doesn't help me debug the situation. In my research, I've come across some mention of a bug here but there are no real…
Garfonzo
  • 3,876
  • 6
  • 43
  • 78
0
votes
0 answers

Python Social Auth Custom User update

I can create new custom user profile with create_profile pipeline function. But also I want to update profile details, if user (or profiles) exist. I couldn't figure out what I need add this function. utils.py def create_profile(strategy, backend,…
Alkindus
  • 2,064
  • 2
  • 16
  • 16
0
votes
1 answer

ValueError while using Python Social Auth token authentication in Django?

I'm sending a Facebook token to my server for authentication using Python Social Auth. On sending a POST for getting authentication this is the error I'm getting: Traceback: File "/Library/Python/2.7/site-packages/django/core/handlers/base.py" in…
ScreenSeer
  • 549
  • 2
  • 9
  • 22
0
votes
1 answer

Accessing user's current company with django social-auth

I have successfully set up Linkedin social authentication on my site with django-socialauth. I am able to retrieve top level profile fields, e.g. headline, no problem, with settings as below in my settings.py: LINKEDIN_EXTRA_FIELD_SELECTORS =…
0
votes
2 answers

Stack Overflow OAuth - Python Social Auth

Currently I am using the Python Social Auth module for authenticating users via OAuth service providers such as Google, Facebook, Github and Stack Overflow. I have completed the process for fb, google and github, but I do not know how to do it for…
Srikrishnan Suresh
  • 729
  • 2
  • 13
  • 31
0
votes
1 answer

Python-social-auth get user city

I'm trying to get (and save) the user city or location using django and python-social-auth. It will be loaded on the first time the user logging, so I created a PIPELINE """ SOCIAL AUTH """ SOCIAL_AUTH_PIPELINE = ( ... …
Max Ferreira
  • 468
  • 1
  • 4
  • 19
0
votes
1 answer

Create Custom Registration Pipeline Using python-social-auth

I have a django-based site that has private content and a small number of necessary users. I would like for everyone to use their Google account to authenticate using python-social-auth (PSA). I would therefore like to use the following process to…
Tom Purl
  • 519
  • 4
  • 20
0
votes
1 answer

linkedin email address not recieved using python socail auth

I have my linkedin scope set as follows: SOCIAL_AUTH_LINKEDIN_SCOPE = ['r_basicprofile', 'r_emailaddress'] When I try logging in using python social auth then an exception is raised which is defined in my model: if not email: raise…
chaitanya90
  • 697
  • 2
  • 8
  • 24
0
votes
0 answers

how to know the id of user created by python social auth for new and returning users?

I am using python-social-auth for letting user log in through fb, google and linkedin. When a user is created by one of this backends and is stored in database. We have the following: (Using django-mongodb-engine not…
chaitanya90
  • 697
  • 2
  • 8
  • 24
0
votes
0 answers

How can I login again when I logout using Google Plus Auth

To login with Google Plus Auth, I use the example of Python Social Auth at https://github.com/omab/python-social-auth/tree/master/examples/django_example And I have the scenario as follows: Firstly, I login by google plus sign in button
Thinh Phan
  • 655
  • 1
  • 14
  • 27
0
votes
1 answer

Python social auth in django to post URL to my business Facebook page using application access token

I have a Django application that I want to post links to my Business page that are crawled by Facebook to produce image and summary. I have my authentication token, and this allows me to post to my page and my business page as me, but ideally what I…
MagicLAMP
  • 1,032
  • 11
  • 26
0
votes
1 answer

social auth, google+, no email in reply

Using python-social-auth in my Django app. I am trying to get Google+ authentication to work, but Google+ doesn't give me an email. What I get from Google is this: dict: {'username': '', 'fullname': u'Alex Laban', 'last_name':…
Alex Laban
  • 59
  • 10
0
votes
1 answer

Cannot import python social auth into Django app that uses custom login

Using Django 1.6.5, created a custom login framework for username/password token-based logins but now want to implement some social login too. The only problem with this, is that every example in existence is using Django's built-in templates and so…