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

Python-social-auth login (error in decorator)

I have a problem with django social auth. I don't know what to do. When I click on ref I get all information from social network (in response if I wrote this argument in function login_vk). In request there is
Mi Ka
  • 135
  • 1
  • 9
0
votes
1 answer

Would you please let me know how to change default database field with PIPELINE of python-social-auth?

1. I'd like to set user's Email address to username field of auth_user table. In the field, first_name + last_name is set as the standard issue, for instance, "TomCruise". But there are many people who have same name especially when we connect to…
yamachan
  • 1,029
  • 2
  • 12
  • 28
0
votes
0 answers

Can't access username field of auth_user table in Django

I tried to search for the username of (default) auth_user table in Django. But I got an error. Can I get/access data from the table as in SQL "SELECT username FROM auth_user"? (Pdb) n > /views.py(43)home() -> if form.is_valid(): (Pdb) n >…
yamachan
  • 1,029
  • 2
  • 12
  • 28
0
votes
1 answer

Custom login process with python-social-auth

I am using a very custom login process, with email/password forms there's no problem. I am using redis to store the session. I know that I can configure SESSION_ENGINE in my settings.py file and Django will do this even with python-social-auth…
Gocht
  • 9,924
  • 3
  • 42
  • 81
0
votes
1 answer

python-social-auth "facebook Authentication process canceled"

I read several web pages and wrote following these codes. But when I tried to pass the authorization with facebook, this appeared on my terminal. "GET /login/facebook/?next=/ HTTP/1.1" 302 0 Authentication process canceled settings.py # -*-…
yamachan
  • 1,029
  • 2
  • 12
  • 28
0
votes
1 answer

Using python-social-auth I'm looking to access what backend provider the person is using in the middle of the pipeline

My pipline is below PIPELINE = ( 'social.pipeline.social_auth.social_details', 'social.pipeline.social_auth.social_uid', 'social.pipeline.social_auth.auth_allowed', 'social.pipeline.social_auth.social_user', …
bungleofsketches
  • 554
  • 1
  • 7
  • 18
0
votes
1 answer

Django: How to identifying through which link user done social authentication?

I am new to Django development environment. Please help me in how to implement scenario like following in Django application. In my web page, there are links available for do social signup/login using python-social-auth module (for facebook and…
Dipak
  • 6,532
  • 8
  • 63
  • 87
0
votes
1 answer

Linkedin Extra Data not populated using python social auth

I am new with Python social auth. have followed different questions from StackOverflow but didn't understand. I want to get Linkedin profile_url of the user using python social auth. I have the following setting in my…
user2623906
0
votes
1 answer

Django. A Unicode BUG/Error on auth model on a remote DB

first of all, I'm not sure what the title of the question should be, I accept suggestions. I noticed this error when I got a Unicode Error on django admin coming from a model. Since it was on production (Heroku), I tried to replicate it locally, I…
Alejandro Veintimilla
  • 10,743
  • 23
  • 91
  • 180
0
votes
1 answer

How to see whether user approved requested permission in Python-Social-Auth

I am using python-social-auth to log users in to my we application. Everything works as expected to create user accounts, log them in, etc. Now I am also requesting the publish_actions permission from the user. When I do this, I see the request step…
seawolf
  • 2,147
  • 3
  • 20
  • 37
0
votes
2 answers

Django Abstract User "too many values to unpack"

I have been trying to use the AbstractUser to add on a few fields to the standard django user. However while going through the motions, I came across a issue. When I tried to make my migrations a "Value Error: too many values to unpack" would…
Shwiby
  • 121
  • 7
0
votes
0 answers

405 Cilent error: python-social-auth Instagram authentication

I'm using python-social-auth in a django-1.8 application. When I'm trying to authenticate user with Instagram, getting 405 client error. **HTTPError at /complete/instagram/** 405 Client Error: METHOD NOT ALLOWED Request Method: GET Request URL: …
0
votes
1 answer

Python Social Auth - Facebook - Django: How do I obtain and use the users link attribute for Facebook?

I have been setting up the Python Social Auth with Facebook and Django and I am trying to obtain the link, which I believe is the link to the user's profile with the application. I have the setting: FACEBOOK_AUTH_EXTRA_ARGUMENTS = {'link'} in my…
Programmingjoe
  • 2,169
  • 2
  • 26
  • 46
0
votes
0 answers

Python Social Auth - Facebook Auth API v2.5

I'm using python-social-auth. On June I've created the app on developers.facebook.com. Facebook's api version is v2.2. Everything is working. Additionally my user model using email as username so I defined in settings.py SOCIAL_AUTH_FACEBOOK_SCOPE =…
0
votes
1 answer

Django social auth Error

When i try to login with Google on Django , i get this error: NoReverseMatch at /social/complete/google-oauth2/ Reverse for 'authorize' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] Request Method: GET Request…
Rus Mine
  • 1,523
  • 1
  • 18
  • 29