Questions tagged [social-auth-app-django]

24 questions
0
votes
1 answer

How can I return the real user after django social-auth-app-django?

In my django project I am using django social-auth-app-django for google login to website.Everything is fine,but When user wants to login with google,if user has registired website before,I want to return this user.So ı don't want to create new…
0
votes
0 answers

How to get linkedin access token with django python?

I am working on an django (python) application that needs that access token from Linkedin API. I tried the following library social-auth-app-django but it didn't help me because I do not need only to sign in, I want to store that access token in the…
0
votes
1 answer

Django : Set is_active flag for User created by social-auth-app-django and google_oauth2

I am using social-auth-app-django for signup-signin of new users using google oauth2 authentication. after signup a new user is created in my db but the is_active is set as false, I want to set is_active as true only for users created by this…
Anon
  • 23
  • 4
0
votes
0 answers

Use existing django users with Auth0

I'm trying to connect Auth0 with django, but I want to use the users that already exists in the system. I want them to sync by their email, but Auth0 creates new users. I used the Auth0 documentation to do…
0
votes
1 answer

How to combine social auth/oauth with django custom user model

I have a custom user model that is based on AbstractBaseUser, PermissionsMixin and I would love to use a package such as django-allauth and/or social-auth-app-django. I have done some research but did not find any tutorials or examples. Can somebody…
0
votes
1 answer

How does social-auth-app-django work with jinja2?

I'm using: python 3.7 Django 2.2.13 social-auth-app-django 3.1.0 I'm considering moving from django templates to jinja2. Most of it makes sense, but it's not clear how the social-auth part would work. In my settings for the DjangoTemplates…
Roy Smith
  • 2,039
  • 3
  • 20
  • 27
0
votes
1 answer

Social-auth-django with custom uer model use OneToOneField link to auth.User

I have a customer model extends django auth.User like: class CustomerUser(models.Model): user = models.OneToOneField(User, related_name='customeruser', on_delete=models.CASCADE) …
0
votes
1 answer

How to get data from logged users in views.py? (Django social-auth-app-django)

I've successfully logged in my facebook account using Social-Auth-App-Django. Now I need to get my user ID so that I can filter the database using the user's ID but I don't have any idea how to do it. In django template it looks like this {{ user.id…
Danilo
  • 11
  • 1
0
votes
1 answer

Python Social Auth Django installation failure

I am trying to install Python Social Auth for Django, but it is not succesful. Server OS: Ubuntu 14.04.5 LTS (GNU/Linux 2.6.32-042stab141.3 x86_64) Python version: 3.4.3 Django version (if it matters): 2.0.8 I use pip install social-auth-app-django,…
1
2