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

google api can't be contacted from archlinux server

I'm running python-social-auth, on a arch virtual server, to get the oauth2 functionality in my app. When I try to login using google, I get redirected (after i filled in the form) here: /complete/google-oauth2/ And then the connection times…
Jenia Ivanov
  • 2,485
  • 3
  • 41
  • 69
0
votes
1 answer

User authorization in Python Social Auth

I can build Facebook login with Python Social Auth. But in order to access full content of the site I want users to be authorised first. Would it be possible to get guidelines how such solution should be build?
baltasvejas
  • 1,698
  • 2
  • 17
  • 18
0
votes
0 answers

python social auth / django app : After logout, browser stay logged in to facebook

I'm implementing Facebook login in my django application. The parts of creating new users and let those users to login via facebook are working without any issues. My problem is when a user logged-in with a facebook acount and want to logout from my…
Izack
  • 823
  • 7
  • 13
0
votes
2 answers

Filtering or restricting Google-Oauth2 login to a set of users in Django using Python Social Auth

Ive been able to filter them out through domain, but if i want to use some regex for further filtering. Can i do that? I've been researching a lot lately; and I thought making a partial pipeline was the solution. But due to poor docs; I wasn't able…
Naman
  • 183
  • 12
0
votes
1 answer

How do I save user-info in a custom user model?

I'm using python-social-auth to log users in to my site, which works fine but I want to use a custom user model that will not only save basic info about the user, but also gets their profile picture. Here is my user model def…
user3545981
  • 23
  • 1
  • 4
0
votes
2 answers

Authenticate with twitter tastypie python social auth return 403

I'm managing my social authentication with tastypie and python-social-auth. I had no problem authenticating via facebook by doing the following : from social.apps.django_app import load_strategy provider = “facebook” access_token =…
OmriToptix
  • 1,219
  • 1
  • 15
  • 22
0
votes
1 answer

Login vs Register in PythonSocialAuth

I'm using PythonSocialAuth (v0.1.23) and I need to differentiate "Register" (create a new user account) from Login. In the PSA Django example, if a new user tries to login, the pipeline logic redirects the new user to a "register form"; I want to…
Cartucho
  • 3,257
  • 2
  • 30
  • 55
0
votes
0 answers

Open Twitter Bootstrap Modal for Social Login with Django

I just recently posted a very similar question to this but implemented this using javascript and had it open in a separate window altogether. I've come a lot further along since and began to implement twitter bootstrap and thought that using a modal…
0
votes
1 answer

python social app (django) - properly save/retrieve user

I'm experimenting with python social auth for my django project and I'm having some trouble understanding the easiest - most straightforward way of creating/saving/retrieving users once logged (eg. via google). I notice that when logging in through,…
0
votes
1 answer

Tweet on behalf of users who have authenticated my app to post tweet?

I have an app, using this app in which user can sign-up via twitter and I have set permission of Read, write, and direct messages , So when user sign-up to my project he authorized me that I can post on-behalf of him. Also during signup I have got…
Inforian
  • 1,716
  • 5
  • 21
  • 42
0
votes
1 answer

Can a twitter-application be blocked?

For 4 weeks, everything has been working smoothly - then all of a sudden none of the users of my application has been able to follow people. I quickly created a new application and tried with a couple of the same users, and it worked. My question…
Martol1ni
  • 4,684
  • 2
  • 29
  • 39
0
votes
0 answers

Twitter API returns callback to '127.0.0.1:8001' on production server. Why?

Everything is working on my site, except when I'm trying to log in with twitter through python-social-auth. It worked well on my local development server, but when I went into production, after the twitter login, it sends the response to…
Martol1ni
  • 4,684
  • 2
  • 29
  • 39
0
votes
0 answers

How to set the username on the LOGIN_REDIRECT_URL with python-social-auth?

I'm working on a project and I'm using python-social-auth to login with Facebook and Twitter. I want the LOGIN_REDIRECT_URL to go to a url with the username like this: url(r'^(?P\w+)/$', UserProfileView.as_view(), name='user-profile'), I…
Robit
  • 1
0
votes
1 answer

What is the right way of handling python-social-auth exceptions when using Flask?

I'm adding PSU to a Flask app and all is going pretty well so far, but I can't figure out how to handle the exceptions raised by PSU. One such exception is social.exceptions.AuthCanceled, raised when a user decides to cancel the auth process. I…
Andrei O
  • 325
  • 3
  • 9
0
votes
1 answer

How to avoid this facebook error when trying to authenticate in my site?

I'm trying to integrate facebook login to my site with python-social-auth. This is my setting.py file: # Application definition INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', …