Questions tagged [django-allauth]

django-allauth is a set of pluggable django apps for authentication, registration, account management as well as 3rd party (social) account authentication

django-allauth is a set of pluggable django apps for authentication, registration, account management as well as 3rd party (social) account authentication

1673 questions
0
votes
1 answer

How do we do signup email confirmation on Google App Engine?

Please don't mark this as a duplicate [it is not]. If we had a complete answer to this question, we wouldn't have so many people asking related but differing questions about emailing, account signup, etc. We need a complete tutorial on how to make…
Sunny
  • 1,464
  • 14
  • 26
0
votes
0 answers

Django all-auth maybe does not support the latest django version 2.01. In that case, How i can use django all-auth into the latest django version

Django all-auth maybe does not support the latest Django version 2.01. In that case, How i can use Django all-auth into the latest django version. Any idea when they will launch the latest version of Django allauth. TIA
Shohan
  • 11
  • 1
  • 6
0
votes
0 answers

How do I get the user's email after signing up with Django All Auth?

I have a django project that uses django all auth for signing up users. After the user enters username, email and password in the signup form: a confirmation emal is sent to their inbox to click and confirm the registration they get redirected to…
IordanouGiannis
  • 4,149
  • 16
  • 65
  • 99
0
votes
1 answer

How can I link model in new app with specific model data in allauth?

In Django, I have installed allauth. Then I have created a new app, where user's actions will be. I want to link each of the actions with allauth's user data within EmailAddress model. My questions are: Normally, data is defined by user_action =…
thebot
  • 249
  • 1
  • 2
  • 10
0
votes
1 answer

Issues with django-allauth 0.34.0 with django 2.0, how do i update my package

i have problems using django-allauth in my project, like viewing/editing the socialaccount. im getting AttributeError at /en/admin/socialaccount/socialaccount/2/change/ 'JSONField' object has no attribute '_get_val_from_obj' Request Method:…
0
votes
1 answer

password_set signal not working in Django allauth

What I am trying to do ? I am trying to redirect a new user to login dialog after user sets a password for the first time. (I am doing this because the movement user sets a password Django implicitly logout the user) What is the problem ? For some…
Ahtisham
  • 9,170
  • 4
  • 43
  • 57
0
votes
1 answer

IndexError: list index out of range, django-allauth

What I am trying to do? I am trying to access the data from the social account. And for that I am following this site. What is the problem? I am getting the following error after successfully logged in to my facebook account: Error: IndexError at…
Ahtisham
  • 9,170
  • 4
  • 43
  • 57
0
votes
2 answers

Google oauth fail with "Code was already redeemed" error

I am trying to make authorization from Google on my website. And at the step of exchanging code to access_token I obtain error: Code was already redeemed It happens with using django-allauth lib aswell as with using recommended by Google libs and…
user1931780
  • 446
  • 1
  • 6
  • 17
0
votes
1 answer

Django request.user is anonymous in views without login_required decorator

I am working on a Django (v2.0) app with django-allauth as auth backend. I'll explain my problem in steps: User logs in -> user redirected to home page (can't access home page without login) In the home page (after logging in), several calls are…
user1934283
  • 124
  • 4
  • 15
0
votes
1 answer

Django user account creation confirmation email

I have a django project where I want to create users, and some time later be able to send a welcome email with a link inviting them to log in and set a password. I'm using django-allauth. I found this SO question which shows how to call allauth's…
andyhasit
  • 14,137
  • 7
  • 49
  • 51
0
votes
1 answer

Save avatar from facebook in allauth

There are questions here which answer this, but my case is different. Instead of letting allauth create a new user I'm catching wheter or not the email exists and performing a login using user = User.objects.get(email=email) …
0
votes
2 answers

Prevent Superuser from deleting/removing/editing User Email in Django Admin

I am using django-allauth for User signup and login purposes. Users can login using both username and email. # settings.py # Custom User Model AUTH_USER_MODEL = 'users.User' # ask for either username or email during…
inquilabee
  • 713
  • 1
  • 11
  • 23
0
votes
1 answer

How to prefetch SocialAccount with django-allauth?

Django-allauth package creates a model SocialAccount, with a ForeignKey to User. I can't manage to prefetch this information in my queryset. My model: class Placerating(models.Model): author = models.ForeignKey('auth.User', null=True,…
Paul Noon
  • 656
  • 1
  • 8
  • 25
0
votes
0 answers

Getting session info from subdomains to the parent domain [Django]

I have a Django app that is hosted in a example.com. Users create groups/team, and each team gets a unique subdomain. Ex: team1.example.com Users log into their team from the team's subdomain. User A who is in team1 will log in from…
Abhishek Menon
  • 753
  • 4
  • 15
0
votes
2 answers

How to set password in user table when user is signup using google or facebook django allauth

By overriding the SocialAccountManager def save_user(self, request, sociallogin, form=None): """ Saves a newly signed up social login. In case of auto-signup, the signup form is not available. """ u = sociallogin.user …
Edwin Babu
  • 709
  • 8
  • 15