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

How to implement an invite flow using django allauth for signup/signin?

Background I'm building an app in which users are able to invite other people to collaborate on different resources. The people that are invited could already be users of the app or could be completely new to it. As i'm using allauth for my…
james
  • 4,150
  • 2
  • 30
  • 36
9
votes
1 answer

Django-allauth sends verification emails from webmaster@

How can I set custom email address to be used in "From:" section of all emails, which a sended by django-allauth to users? By default, users receives emails from webmaster@name_of_my_ubuntu_server - it looks ugly. I want to use something like…
Antonio
  • 822
  • 1
  • 10
  • 19
9
votes
4 answers

Bypass signup form using allauth

Does anyone know how I would go about bypassing the signup page when using a social account in django allauth? I've got the authentication side of things working with Google but when the user accepts the request from Google, it redirects to a page…
bodger
  • 1,112
  • 6
  • 24
9
votes
2 answers

how to integrate single sign on from disqus with django allauth

I am using django-allauth for my django project with social login and at the same time I am using Disqus as my commenting system for my site. I want to know, how to use the single sign on function from Disqus with allauth?
user2673206
  • 215
  • 2
  • 12
9
votes
6 answers

Django-allauth loads wrong base.html template

I've been trying to get django-allauth working for a couple days now and I finally found out what was going on. Instead of loading the base.html template that installs with django-allauth, the app loads the base.html file that I use for the rest…
bcoop713
  • 1,063
  • 5
  • 13
  • 24
9
votes
3 answers

How to create new user and new django allauth social account when given access token over api?

I have a mobile app that allows users to sign up via Facebook. Once I receive the access token from FB, I send it to the Django backend. But then what? Is there a method inside of django-allauth that I can feed the access token to to have it…
KrisF
  • 1,371
  • 13
  • 27
8
votes
4 answers

Crispy forms throws VariableDoesNotExist error failed lookup for key [html5_required] on forms

I use allauth to sign in with emails and did a very basic custom login form and a template override for allauth and display the login form. Hitting the URL throws me straight into the exception: Failed lookup for key [html5_required] in [{'True':…
Tomek
  • 323
  • 1
  • 4
  • 19
8
votes
3 answers

Django AllAuth - How to manually send a reset-password email?

In my application I am using Django Allauth. I don't have any registration form for users. The admin is going to register users by uploading an excel file that contains user info. I have done all of this and users are saved in the user table by auto…
Marjan Kalanaki
  • 183
  • 1
  • 4
  • 13
8
votes
1 answer

Add second sign up screen to social sign up allauth

I'm using the django allauth auth system and I use the social sign ups with the "next" parameter like this: where next is a dynamic variable.…
Julian
  • 915
  • 8
  • 24
8
votes
2 answers

django-allauth - Overriding default signup form

I'm using this code (in forms.py) for my custom signup form for allauth: class RegistrationForm(UserCreationForm): birth_date = forms.DateField(widget=extras.SelectDateWidget(years=BIRTH_DATE_YEARS)) class Meta: model =…
softzer0
  • 445
  • 2
  • 7
  • 25
8
votes
2 answers

Multiple signup, registration forms using django-allauth

The application I am working on needs a separate login for 2 different type of users. We need "clients" and "business" owners to be able to register. For the "business" owner all that I need to do is set the boolean user.is_business to True I have…
Astuanax
  • 667
  • 5
  • 18
8
votes
3 answers

Django allauth signup without password

Is it possible to create user accounts with email as username and no other details such as password using allauth? The intention is to make the signup process as easy as possible. Can password be skipped on signup and be updated on email…
cutteeth
  • 2,148
  • 3
  • 25
  • 45
8
votes
1 answer

Field name `username` is not valid for model

I am attempting to use rest-auth supplied serialisers to GET (*with headers) user details from the defined endpoint /rest-auth/user/ (*with headers (Content-Type: application/json Authorization: Token 1a5472b2af03fc0e9de31fc0fc6dd81583087523 )) I…
8
votes
2 answers

How to change the value of activate_url in django allauth?

I am using allauth and after registration the user receives an email asking them to click a link to verify their email address. I would like to change the value of this link. I would like to change it from…
birdy
  • 9,286
  • 24
  • 107
  • 171
8
votes
3 answers

django-allauth, how can I only allow signup/login through social?

I only want to allow people to sign up or log in with their social account. I have the social sign up and log in working, but I cant figure out how to disable the local sign up. I've read the docs and this sounds close to what I want ACCOUNT_FORMS…
Brian Head
  • 293
  • 4
  • 16