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

Django-allauth: send welcome email on signup (without verification)

How can I send a welcome email to a user who signs up on a django app(using django-allauth). If I set ACCOUNT_EMAIL_VERIFICATION = ("mandatory"), it works fine, and the user gets a verification email. But since I dont require any email verification,…
user_2000
  • 1,103
  • 3
  • 14
  • 26
13
votes
1 answer

How can I get the user's facebook id with django-allauth?

I want to display a picture of the current_user in my template. How can I access the user's facebook id when I'm using django-allauth?
fceruti
  • 2,405
  • 1
  • 19
  • 28
12
votes
2 answers

django-allauth set username the same as email

I have a sign up form which asks only for email and password. When a user signs up, django-allauth creates a username for that user by striping the "@email" suffix form the user's email address. So for example, if a user signs up with…
GregC
  • 335
  • 3
  • 12
12
votes
1 answer

Override signup view django-allauth

I am asking user to fill extra fields with custom form. And in one of the fields, I have to let user choose multiple hierarchical tags. For this, I need to pass the tags from a view to the template signup.html from classes.Tags import Tags from…
Santosh Ghimire
  • 3,087
  • 8
  • 35
  • 63
12
votes
3 answers

django-allauth: Only allow users from a specific google apps domain

I am a newbie at Django. Using django-allauth I have set up single click sign in. I obtained my domain credentials ( client_id and secret_key) from google api console. But the problem is django-allauth is letting me login from any google account…
aishpant
  • 903
  • 10
  • 19
12
votes
2 answers

What is the right way to use django-allauth with tastypie?

I'm writing a Django app that uses django-allauth for Facebook integration, and uses django-tastypie for a backend for an iOS app. The iOS app will use the native Facebook iOS SDK. I'd like to be able to sign up and verify both Facebook and…
abeinstein
  • 552
  • 4
  • 11
12
votes
2 answers

Override templates of external app in Django

I want to override the templates of an external app (allauth, installed in site packages). Unfortunately no advice i read worked. I added the following to my settings.py: PROJECT_ROOT =…
medihack
  • 16,045
  • 21
  • 90
  • 134
11
votes
7 answers

Debugging django-allauth Social Network Login Failure

When using django-allauth to do an OAuth login via a social provider, sometimes it fails with the error page "Social Network Login Failure". There is no log output containing more information. There is a feature request for this log output…
Zags
  • 37,389
  • 14
  • 105
  • 140
11
votes
2 answers

django-allauth logging in with Facebook token from iOS Device

I am using the Facebook iOS SDK to POST the Facebook Access Token to my Django server URI. The corresponding views.py function is shown below and I get a 200 Response code when I do the POST from iOS. However, I have a second @login_required…
PhilBot
  • 748
  • 18
  • 85
  • 173
11
votes
3 answers

django-allauth: How can I add a Site for my domain?

I'm new to Django and I've installed django-allauth. I followed the docs, but I'm stuck on the Post-Installation steps: Add a Site for your domain, matching settings.SITE_ID (django.contrib.sites app). For each OAuth based provider, add a Social…
user3387367
  • 111
  • 1
  • 4
11
votes
1 answer

django-allauth signin with google redirects to development url even in production

I created a Client ID and Client Secret from the google cloud api console and added a record in the Social apps table for django-allauth I also added WEB ORIGIN: mysite.com (prod) http://localhost:8000 (dev) and REDIRECT URI…
Pramod
  • 5,150
  • 3
  • 45
  • 46
11
votes
2 answers

django-allauth change user email with/without verification

I am using plain django-allauth without any social accounts. Every user should have exactly one email address associated with his account, i.e. the one that was used for registration/verification. I would like to enable my users to change this…
schacki
  • 9,401
  • 5
  • 29
  • 32
11
votes
3 answers

Turn off user social registration in django-allauth?

I noticed looking through the django-allauth templates there's a signup_closed.html users can be redirected to when user registration is closed or disabled. Does anyone who's familiar with that module know if there's a pre-configured setting that…
Chris B.
  • 1,505
  • 5
  • 26
  • 48
11
votes
1 answer

Implementing Ajax requests / response with django-allauth

I am using django-allauth for one of my project. I would like to implement login/signup process via ajax. I would like to have customized signup form. I was going through their signupmixin and signup form. Sounds like I can write custom views for…
10
votes
7 answers

TypeError: __init__() got an unexpected keyword argument 'providing_args'

I am creating a Django website. I was recently adding permissions/search functionality using the allauth package. When I attempt to run the website through docker I receive the error message: File…
huntere2501
  • 103
  • 1
  • 1
  • 7