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
2 answers

On upgrading python-social-auth from 0.1.17 to 0.2.4, session attribute is not provided in request, to custom pipeline method?

My social-auth pipeline is as follows: SOCIAL_AUTH_PIPELINE =…
Sid
  • 589
  • 6
  • 20
0
votes
1 answer

Why my Flask application can't create new user using Python Social Auth?

I am using python-social-auth package, and it has rather strange behavior, that is, I can login using existing gmail account already signup in the database, but I can't register new user. Actually, this is a dockerize Flask application (in app.py).…
swdev
  • 4,997
  • 8
  • 64
  • 106
0
votes
1 answer

Socio login in Django

I am trying to build social login in Django, but it is not working fine. How am doing: Installed python-social-auth added this in INSTALLED_APPS: 'social.apps.django_app.default', Migrated DB (with no errors) Added this in…
sachsure
  • 828
  • 1
  • 17
  • 30
0
votes
1 answer

Python-social-auth returns admin user

I am trying to setup python-social-auth to authenticate users from Vk. I have a standard setup as written in docs with normal pipeline. The problem is that when user tries to log in: 'social.pipeline.social_auth.social_user', always returns admin…
Alexander Tyapkov
  • 4,837
  • 5
  • 39
  • 65
0
votes
1 answer

Include parameters in return login OAuth2

I am using a third party library to retrieve a token through social networks, which uses python-social-auth-oauth and django-toolkit. Beyond the normal parameters, I would like to add the list of groups that the user is checked. Current…
0
votes
1 answer

Why Steam OpenID redirect me to error dgango view?

I'm using django, python social auth and Steam. For logging I sent get request to Steam ({% url social: begin steam %}), and I got Steam logging page. I passed my login and password and pressed log in. After that I was redirect to error url (not on…
Max
  • 315
  • 4
  • 17
0
votes
1 answer

python-social-auth and facebook login: what is the whitelist redirect url to include in fb configuration?

I was getting this facebook login error: URL Blocked This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid…
TaiwanGrapefruitTea
  • 1,045
  • 2
  • 14
  • 25
0
votes
0 answers

python-social-auth in production (on Heroku)

I'm working on a project in which I have implemented python-social-auth, and the social authentication works on localhost, but not on Heroku, where I get: AuthCanceled at /complete/facebook/ Authentication process canceled The complete…
Stefano De Rosso
  • 1,309
  • 1
  • 14
  • 27
0
votes
1 answer

Migrating issue with Python Social Auth on Heroku (Django app)

I've set up everything for social auth on my app, and it does work on localhost. Now I'm trying to deploy it to Heroku, but when I try to login with Facebook (for example) I get this error: relation "social_auth_usersocialauth" does not exist LINE…
Stefano De Rosso
  • 1,309
  • 1
  • 14
  • 27
0
votes
1 answer

Google O-Auth stops working after shifting from http to https

I had created a web application in Django,setup Google and Facebook O-auth(using python-social-auth) for login and hosted it on a domain - example.com.Many users had already registered on it using google sign in.However yesterday I setup ssl…
0
votes
1 answer

not getting user email after django facebook login?

I'm trying to login via fb in django. Everything is working fine. Problem is I'm not getting the email of user. I have added SOCIAL_AUTH_FACEBOOK_SCOPE = [’email’] to settings.py but I am not getting the email which is important for my database.…
Sandy
  • 1
  • 1
0
votes
1 answer

Can't access to python social auth's data

I am using Django 1.9.5 and have a problem with the data that python social auth gives. I got the data, but I cant' access it. This is my code def save_auth_data_session(request): if request.user: twitter = …
hreluz
  • 13
  • 4
0
votes
0 answers

Integrity error when Google users try to connect (old users)

We have django-social-auth used to enable Google sign-ins in our app. People with recently created Google account can effectively connect while older can’t – I get an IntegrityError. I have no idea how that Google OAuth truly works on the Google…
phaazon
  • 1,972
  • 15
  • 21
0
votes
0 answers

python-social-auth : Supporting subdomains in redirect uri for facebook in Django

I have facebook login working for my domain: example.com(just for example). In the facebook developer settings I have set redirect uri as : http://example.com/complete/facebook/ and this works fine. I want to support the same facebook login for all…
0
votes
1 answer

django social auth with django rest framework

I am unable to associate my social users with django.I created a CreateAPIView that takes token_access, token_access_secret and provider from users.But everything seems to work.But do_auth method doesnt exactly create my users social…