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
1 answer

How do I configure Django to use python-social-auth for local logins?

I can configure Django using social accounts for login, but I'd like to integrate local username/email and password login for those w/o a social account or for those who won't use one. I can use a third party tool like django-registration, but I'd…
Charles Saag
  • 611
  • 5
  • 20
0
votes
1 answer

Get Social websites profile link and attach those to a django user

I am working on a django app. What i want to do is that in my app i want to allow people to add their facebook, twitter and google+ profile links but after only getting authenticated to these. I want my website should recognize a user if it gets…
Sajid Ahmad
  • 1,124
  • 4
  • 18
  • 40
0
votes
1 answer

django-guardian DoesNotExist error when adding group permission

I want to add per object permissions to my django app, but I can't seem to get the basics working. I am using python-social-auth also but I didn't think that would be an issue as auth.User still works normally. I seem to be doing everything…
Colin Murphy
  • 1,105
  • 3
  • 12
  • 22
0
votes
1 answer

Python Social Auth: 401 error when logging in with Facebook using AJAX

I can create my account with Facebook, and when I do I get an auth token back from DRF. But if I click the button again, as if I were logging in, I get a 401 error and the browser pops up a username/password box. It's great that I can create…
jmickela
  • 663
  • 1
  • 8
  • 17
0
votes
2 answers

python-social-auth - Update Email Address

I am using python-social-auth and my pipeline is as…
Pratik Poddar
  • 1,353
  • 3
  • 18
  • 36
0
votes
1 answer

How to get user data with python social auth..?

I have created a small project using python social auth for logging with facebook.I have referred python social auth example at link.I can able to get the user name with request.name.But how can i get the other data like…
Mulagala
  • 8,231
  • 11
  • 29
  • 48
0
votes
1 answer

Django and Python-Social-Auth redirect if I make custom pipeline

This is my project's directory: /handshakeapp: templates/ __init__.py admin.py models.py pipelines.py views.py /VKHandshake: __init__.py settings.py urls.py ... manage.py This is part of…
michaeluskov
  • 1,729
  • 7
  • 27
  • 53
0
votes
2 answers

Python social auth error in facebook

I am using python social auth in django. While using facebook an error…
shebeer
  • 683
  • 1
  • 5
  • 5
0
votes
0 answers

PythonSocial Auth Twitter flatpage

I'm trying to allow users on my Django website to login using Twitter and I'm using python social auth. It works fine locally, but when I deploy it to my server (AWS), I get this error: Environment: Request Method: GET Request URL:…
maahd
  • 672
  • 2
  • 9
  • 30
0
votes
1 answer

extracting email address from exception message

In python-social-auth, when a user registers with an existing email address, an exception is raised. I managed to catch this exception: msg = "%s" % exception If I print msg, I get the following output: (1062, "Duplicate entry 'email@id.com' for…
user3895077
0
votes
1 answer

How to implement facebook authentification with python social auth?

I followed this tutorial http://www.artandlogic.com/blog/2014/04/tutorial-adding-facebooktwittergoogle-authentication-to-a-django-application/ and I managed Google Auth to work but when I try to register as facebook user,…
Matúš Bartko
  • 2,425
  • 2
  • 30
  • 42
0
votes
1 answer

python-social not saving response to custom model

Ive been running into a number of problem in relation to using django's custom model. This one in particular is not raising any errors. For some reason after authenticating via steam and returning to the landing page the database tables for both…
Deep
  • 2,988
  • 4
  • 34
  • 44
0
votes
0 answers

ValueError at /complete/steam/ : invalid literal for int() with base 10: 'name'

I recently created a Custom User as follows and have it installed: steamuser class User(AbstractBaseUser): steamid = models.IntegerField(max_length=20, primary_key=True) username = models.CharField(max_length=80) email =…
Deep
  • 2,988
  • 4
  • 34
  • 44
0
votes
0 answers

How to pass additional user info with django python-social-auth oauth2 authentication?

How can I pass additional user information with python-social-auth such that they are saved to the database upon successful authentication? I looked into pipelines but could not figure this out. I have a form with sign up button which will start the…
Ashwath
  • 1
  • 1
0
votes
0 answers

What data should/should not be backed up for django website using python-social-auth ? Which sets of data are sensitive?

For a django site implementing python-social-auth to enable login, exactly what should be backed up and what should NOT be backed up? Should the entire tables created by social-auth be backed up? or should only certain data be exported and backed…
sky
  • 2,531
  • 4
  • 17
  • 15