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

all-auth SMTPAuthentication Error

I'm getting SMTPAuthenticationError at /rest-auth/password/reset/ error. I'm using all-auth-rest and set these on settings.py EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'randomemail@gmail.com' EMAIL_PORT = 25 # or…
merry-go-round
  • 4,533
  • 10
  • 54
  • 102
0
votes
1 answer

unit testing for unverified user trying to login

I've been trying to test for a user that hasn't been verified. class TestLoginApi(TestCase): URL = '/rest-auth/login/' EMAIL = 'testuser@test PASSWORD = 'password' DATA = {'email': EMAIL, 'password': PASSWORD} @classmethod …
0
votes
2 answers

extend a user profile in django to include profile photo

I am trying to extend a user profile in django so that user can add profile photo and birthday date and I am using django-allauth for my user authentication. I am currently following a reference but for the reference a new user registration was used…
King
  • 1,885
  • 3
  • 27
  • 84
0
votes
1 answer

Using Django Allauth for Actions on Google account linking

I have a working Django AllAuth install with Google signin setup. I'm now trying to set up Google Assistant integration for my app, using the Actions on Google console. Documentation on OAuth2 account linking at…
PierreS
  • 241
  • 2
  • 8
0
votes
1 answer

Django Alluth Filling in information from oauth

Currently, I have a custom user model with the following settings ACCOUNT_USER_MODEL_USERNAME_FIELD = None ACCOUNT_EMAIL_REQUIRED = True ACCOUNT_USERNAME_REQUIRED = False ACCOUNT_AUTHENTICATION_METHOD = 'email' and an additional display name…
kuan
  • 415
  • 1
  • 9
  • 16
0
votes
2 answers

Django all-auth app, how to modify /account/profile page to display custom view

After setting up the All-Auth app, when user logs in, he gets redirected to: accounts/profile/ page which tells us that the view doesn't exist. I'm trying to figure out what kind of thing to include there, and decided to allow the user to change…
Roma
  • 449
  • 6
  • 23
0
votes
1 answer

django giving Site errors after using django-allauth

I recently decided to add django-allauth to my application and it requires that I include 'django.contrib.sites' inside my settings.INSTALLED.APPS. This is causing my program to break with error Site matching query does not exist. I tried creating…
Alex Creamer
  • 29
  • 1
  • 4
0
votes
3 answers

allauth account edit in django

I am building an application with django and I decided to opt for the allauth authentication. now I have a profile page and I want users to be able to edit their account to Include Bios, Last_name ,first_name and thingx like that and possibly…
King
  • 1,885
  • 3
  • 27
  • 84
0
votes
2 answers

Django allauth saving custom user profile fields with signup form

I am a beginner in Django. I am using Django 1.10 with an allauth app to create a user registration. There are couple of extra fields (phone_number and organization) which I have included in signup form apart from the first name, last name, email,…
Prithviraj Mitra
  • 11,002
  • 13
  • 58
  • 99
0
votes
1 answer

How does one redirect on an error in allauth?

I'm currently am writing a site where the users fill out a form with some information to signup, and the server verifies the correctness of that information on its end before allowing a successful signup. If the information is invalid, I want the…
cynest
  • 3
  • 1
0
votes
1 answer

django-allauth DefaultAccountAdapter clean_password() got an unexpected keyword argument 'user'

I have written my own custom account adapter using django-allauth and django 1.10, so that I can specify a regex patterns for passwords to be validated. This is a snippet of my code: class MyAccountAdapter(DefaultAccountAdapter): def…
Homunculus Reticulli
  • 65,167
  • 81
  • 216
  • 341
0
votes
1 answer

django allauth email signup - custom logic

I am using django 1.10 and django-allauth for authentication on my website. For email/password (i.e. non social) login, I want to be able to place code to check the email - so that I DISALLOW signup from certain well known spammy domains. So I want…
Homunculus Reticulli
  • 65,167
  • 81
  • 216
  • 341
0
votes
0 answers

django allauth: redirecting for invalid passwords

I have a custom page which calls allauth signup view (custom_passcheck.html)
{% csrf_token %}


ealeon
  • 12,074
  • 24
  • 92
  • 173
0
votes
1 answer

django-allauth caching login and signup pages

is there a way to set up Django Redis caching for login and signup views from django-allauth? I looked at docu and found nothing. I don't want whole site caching but only some views and these two are part of it.
Mous
  • 83
  • 9
0
votes
0 answers

Social login error during Gmail verification

settings.py SOCIALACCOUNT_PROVIDERS = { 'google': { 'SCOPE': ['profile', 'email'], 'AUTH_PARAMS': {'access_type': 'online'}, }, 'facebook': { 'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile', 'user_friends'], 'AUTH_PARAMS':…