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
10
votes
1 answer

How to resend confirmation email in Django from a React front end, using allauth and rest-auth

I'm using Django 2.0.10 with rest framework, rest-auth and allauth, with a React front end. Rest-auth provides login and logout functionality using JWT token authentication, but I can't work out how to allow the user to request a resend of the…
Little Brain
  • 2,647
  • 1
  • 30
  • 54
10
votes
2 answers

How to save extra fields on registration using custom user model in DRF + django-rest-auth

Using Django REST Framework (DRF), with django-rest-auth, I created a custom user model with one extra field. My aim is to use the django-rest-auth registration endpoint to register a new user in one request, and thus sending all the data to create…
10
votes
5 answers

How to remove username field in the register form on django admin?

using the rest-framework and the django-allauth settings flags for removing the username as required for both login and register: #settings.py ACCOUNT_AUTHENTICATION_METHOD = 'email' ACCOUNT_EMAIL_REQUIRED = True ACCOUNT_UNIQUE_EMAIL =…
DezMaeth
  • 158
  • 1
  • 1
  • 9
10
votes
1 answer

SMTPDataError at /accounts/signup/ (553, b'Relaying disallowed as webmaster@localhost')

I am using Django 1.7 and for authentication I am using Django allauth. For sending email, I started using zoho smtp server. It is able to send normal & transactional mails but it cannot send signup conversation email. It shows the…
Rohit
  • 475
  • 1
  • 7
  • 16
10
votes
4 answers

Django + DRF: 403 FORBIDDEN: CSRF token missing or incorrect

I have an Android client app that tries to authenticate with a Django + DRF backend. However, when I try to login, I get the following response: 403: CSRF Failed: CSRF token missing or incorrect. The request is sent to…
10
votes
1 answer

My custom adapter isn't used by django-allauth

I'm using django 1.6.5 and django-allauth 0.18.0 and the social login works as expected once we create the social app in the django's admin panel. So, my next step was trying to change the module's behavior by using adapters. It looked simple in the…
bchhun
  • 18,116
  • 8
  • 28
  • 31
10
votes
2 answers

relation "account_emailaddress" does not exist - django error

I am following this tutorial to integrate social media login to my django project - http://www.sarahhagstrom.com/2013/09/the-missing-django-allauth-tutorial/ However after completing all the steps, when I try to login using facebook, I get this…
Keval Doshi
  • 738
  • 6
  • 25
10
votes
2 answers

How to create multiple signup pages with django-allauth?

I have one custom user model that contains a number of fields in addition to email and password. One field is user_type which is set to either designer or developer. Other fields are specific to one or the other type. I need to have a separate…
KrisF
  • 1,371
  • 13
  • 27
10
votes
7 answers

Django-allauth No Facebook app configured: please add a SocialApp using the Django admin

I am trying to setup Django-allauth in my project. I am running into this error and am unable to fix it. Environment: Request Method: GET Request URL: `http://localhost:8000/accounts/login/` Django Version: 1.4.2 Python Version: 2.7.3 Installed…
manu
  • 1,072
  • 1
  • 14
  • 26
9
votes
2 answers

Django Allauth seems to log user out after a few days of inactivity

When a user logs in, I want the user to stay logged in indefinitely unless of course they themselves prompt the log out. What seems to be the case with my website (using django-allauth for authentication) is that when a user logs in and then doesn't…
SkyBlue
  • 293
  • 4
  • 13
9
votes
1 answer

Django allauth with email as username and multiple sites

Is it possible to use Django allauth with the authentication method set to 'email' when using it on multiple sites? I'm aiming to allow a user with the email address bob@example.com to create an account at site1.com and a separate account at…
bodger
  • 1,112
  • 6
  • 24
9
votes
2 answers

How to disable verification step for all-auth? (sending verification email )

I'm using all-auth (all-auth-rest) for basic authorization/authentication. By default, when the user register, Django all-auth is trying to send a verification email. How can I disable it to prevent it from sending a verification email?
merry-go-round
  • 4,533
  • 10
  • 54
  • 102
9
votes
1 answer

Django rest auth with Allauth

I have implemented django rest auth with Allauth and its working fine if I login through google access_token but there is a case when some client device need to login by google id_token. I am getting error if I use id_token instead of…
9
votes
4 answers

Over-riding Django-allauth login/ registration urls with custom url/ pages

I have configured django-allauth for login through Facebook, Twitter and Google. However, django-allauth accepts login request only at /accounts/login/, sign up request only at /accounts/signup/ etc. I have a modal form for login and registration…
FlyingAura
  • 1,541
  • 5
  • 26
  • 41
9
votes
2 answers

django-allauth: how to modify email confirmation url?

I'm running django on port 8001, while nginx is handling webserver duties on port 80. nginx proxies views and some REST api calls to Django. I'm using django-allauth for user registration/authentication. When a new user registers, django-allauth…
Colin Nichols
  • 714
  • 4
  • 12