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

Service Provider initiated Single Logout in Django

I work on a project with SAML authentication implemented using python-social-auth. I am trying to implement a view that initiates Single Logout (i.e. logout from all Service providers and Identity provider) on Service provider side. Currently, being…
Den Kasyanov
  • 870
  • 2
  • 11
  • 27
2
votes
1 answer

Error: Django-Social-Auth LinkedIn Client Error

After authentication I got this error message HTTPError at /oauth/complete/linkedin-oauth2/ 410 Client Error: Gone for url: https://api.linkedin.com/v1/people/~:(email-address,first-name,headline,id,industry,last-name)?format=json Django settings…
2
votes
0 answers

Google Calendar API 403 error

I want to use Google Calendar API in my Django web app. I successfully got the access token using python social auth. Using that token, I tried calling list calendar API with python requests. Below is my code: import requests token = ... endpoint…
2
votes
1 answer

Django Social Auth: Google OAuth2 - only display emails from restricted domain list

I have Django Social Auth (pypi package social-auth-app-django) working with Google OAuth2 on a site. When they open a page they get redirected to Google's OAuth2 authentication. This works great, and if they try to log in with an email address that…
Furbeenator
  • 8,106
  • 4
  • 46
  • 54
2
votes
1 answer

How should I continue a Python Social Auth Partial Pipeline

The application I am working has an overwritten endpoint for the Python Social Auth /complete// endpoint. within our urls.py: urlspatterns = [ ... # Override of social_auth …
Matt
  • 5,028
  • 2
  • 28
  • 55
2
votes
1 answer

Django social auth how to get permission or die trying

In my app, I need an email for every user. Facebook inconveniently for me does not provide it as a part of public profile. So I ask for permission: SOCIAL_AUTH_FACEBOOK_SCOPE = ['email', 'public_profile'] SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS =…
Zygro
  • 6,849
  • 11
  • 28
  • 43
2
votes
0 answers

social_auth_pipeline error when adding custom pipeline

i have added my custom pipeline SOCIAL_AUTH_PIPELINE =…
2
votes
0 answers

python social_auth facebook can't get extra scopes

I'm using social_auth in my django project in order to provide facebook login. I'm trying to get the user email. Note that i'm testing it locally. I can see the email being supplied from facebook in the popup but it appears to be empty in my custom…
2
votes
1 answer

python django: login with office 365

I am trying to implement a office365/azureAD/MS graph authentication system for a Django website. My University has a office365 account system for all students. If you log in using your ID for that you get access to all MS Office software and other…
2
votes
1 answer

How to stop python-social-auth and reverse a transaction during pipeline step?

I have a Django application which uses python-social-auth for authentication. I have this in my django settings: SOCIAL_AUTH_PIPELINE = ( ... 'my.app.my.custom.pipeline', ) How do I stop the whole user creation process in my custom…
Babken Vardanyan
  • 14,090
  • 13
  • 68
  • 87
2
votes
4 answers

Facebook Social Auth Login: Can't Load URL: The domain of this URL isn't included in the app's domains

I am developing a web application using Django and python-social-auth. I want users to login with Facebook. I have this in my python settings: SOCIAL_AUTH_FACEBOOK_KEY = '...' SOCIAL_AUTH_FACEBOOK_SECRET = '...' SOCIAL_AUTH_FACEBOOK_SCOPE =…
Babken Vardanyan
  • 14,090
  • 13
  • 68
  • 87
2
votes
1 answer

Ionic Google social authentication to Django Rest Framework backend

I am trying to get social authentication working for my mobile app (an Ionic app on Android). Django rest framework backend with rest_framework_jwt, social_django, and rest_social_auth. On my Ionic app I was using satellizer.js, however, I can't use…
2
votes
0 answers

Social-auth-app-django - Error AuthForbidden Your credentials aren't allowed

I am using Django 1.9 with python 2.7 and social-auth-app-django (1.2.0). It is part of the Python Social Auth library. I'm trying to make an authorization through vk.com. The request for personal data is successful. But after there is a redirection…
2
votes
1 answer

Key (email)=() already exists error: python-social-auth

My app uses both email registration and Facebook or Google+ registration using python-social-auth (0.2.11). When some new users register using Facebook, they are taken to an error page. After that, I see the following error: Internal Server Error:…
wraasch
  • 405
  • 3
  • 13
2
votes
1 answer

override python-social-auth built-in urls?

I am using python-social-auth for Google authentication in my Django application. Can I override the python-social-auth URLs ? By default, it's http://mydomain/login/google-oauth2/ and I need to change the URL as part of my view (get request) ;…
JPG
  • 82,442
  • 19
  • 127
  • 206