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
67
votes
4 answers

How can I use Django OAuth Toolkit with Python Social Auth?

I'm building an API using Django Rest Framework. Later this API is supposed to be consumed by iOS and Android devices. I want to allow my users to sign-up with oauth2-providers like Facebook and Google. In this case, they shouldn't have to create an…
31
votes
7 answers

python-social-auth AuthCanceled exception

I'm using python-social-auth in my Django application for authentication via Facebook. But when a user tries to login, they have been redirected to the Facebook app page, and they click on the "Cancel" button, the following exception appears: ERROR…
27
votes
3 answers

Facebook Auth with AngularJS and Django REST Framework

I am developing a SPA application with AngularJS which uses Django backend for the server. The way that I communicate with the server from the SPA is with django-rest-framework. So now I want to make authentication with facebook (google and twitter…
valkirilov
  • 1,823
  • 3
  • 20
  • 26
21
votes
2 answers

Are sessions needed for python-social-auth

I'm building a django app with an API backend(built with DRF) and angularjs client. My goal is to completely decouple the server and client using JWT in place of sessions. I'm attempting to integrate python-social-auth(PSA) with…
Ethan Blackburn
  • 497
  • 5
  • 13
18
votes
1 answer

Python Social auth authentication via access-token fails

I am currently developing a serverbackand with Django (1.7) that should handle authentication via social Networks by using python-social-auth. I followed the Tutorial on this site, which describes the process for a simple Webapp. This worked…
Dominik
  • 181
  • 4
18
votes
3 answers

Python Social Auth Django template example

Does someone has an open example using Python Social Auth with Django in templates? I took a look in their Github repo, and in the django exmaple, there is nothing about how to deal with it in templates (e.g. doing login, logout, etc).
Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174
17
votes
5 answers

python-social-auth with Django: ImportError: No module named 'social_django'

ALL packages installed!! Hi, I'm using python 3.5 Django==1.10 I installed Python-social-auth executed the command Python manage.py transfer error received! Traceback (most recent call last): File "manage.py", line 22, in…
17
votes
4 answers

how to get user email with python social auth with facebook and save it

I'm trying to implement python-social-auth in django. I want users to authenticate through facebook and save their email. I'm able to authenticate users but the extended permission for email is not showing up in the facebook authentification box and…
a_b
  • 1,828
  • 5
  • 23
  • 37
13
votes
1 answer

Giving default permissions or a default group to new users

Default behaviour seems to be new users have no permissions and no groups. However I'd like not to have to manually grant every single new users basic permissions, and I'd assume they'd like not to have to wait for me to do so. How should I assign…
jozxyqk
  • 16,424
  • 12
  • 91
  • 180
13
votes
2 answers

cannot import name is_secure_transport

I am using python-social-auth API for authentication in my website. But I am getting an exception `cannot import name is_secure_transport. Below is the trace. Django 1.7 Python Version: 2.7.6 Installed Applications: ('django.contrib.admin', …
HadeS
  • 2,020
  • 19
  • 36
12
votes
2 answers

django social authentication error using python-social-auth

I am following this answer which is very clear and helpful, i have configured all the settings, but after login using gmail when i am redirected to localhost:8000/soc/complete/google-oauth2/?state=jAwzw... . I am getting this error HTTPError at…
user29578
  • 689
  • 7
  • 21
12
votes
3 answers

How to solve Authentication process canceled error?

Now I try to setup python-social-app In facebook login after the username/password redirect to error page I don't know why this happen... In my setting I have 'social.backends.facebook.FacebookOAuth2' and I correctly set SOCIAL_AUTH_FACEBOOK_KEY…
user4374121
12
votes
4 answers

Retrieving profile picture from google and facebook in python-social-auth

How can I retrieve profile picture and date of birth from google and facebook using python-social-auth by extending pipeline? I've read that I can make functions to do so and set path to them but I don't know the attribute names that I must…
Keshav Agarwal
  • 811
  • 1
  • 10
  • 28
12
votes
4 answers

python-social-auth not getting correct Google OAuth2 details

I want to login a user using the python-social-auth functionality for Google Plus signin in Django. When logging in from my website, everything works fine and the correct details are added to the database. However, I want to authenticate from my…
11
votes
2 answers

Get access token from Python Social Auth

I have Python Social Auth implemented on my site, and I'm trying to access (after the login process) into the access token that the user got. I can see on the Django admin that there's a field called extra_data containing the access token, but I…
user3169790
  • 175
  • 1
  • 7
1
2 3
37 38