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

Form password field in iframe behave as if empty when filled automatically by Chrome

When Google chrome auto-fills the password field with saved credentials info and that I submit the form, the data for the password is an empty string. Because of this I get a "field is required" kind of error, even thought there is something in the…
Ryan Pergent
  • 4,432
  • 3
  • 36
  • 78
0
votes
1 answer

Django All-Auth Role Based Signup

Having read many stack overflow questions, tutorials etc on all-auth I keep getting the impression that it only supports the registration of one type of user per project. I have two usecases A business user authenticates and registers his business…
Ed Campion
  • 196
  • 8
0
votes
2 answers

How to make allauth accept only gmail addresses belonging to a certain institute?

Example:- qwe123@pilani.bits-pilani.ac.in I think i just need to check if the "template ending" is present in the email address or not but the problem is where to check it in the allauth package
Nikhil Khandelwal
  • 198
  • 1
  • 2
  • 12
0
votes
1 answer

Django allauth get full linkedin details

Using django-allauth with linkedin however can't get full profile details from profile of the user. in the settings file SOCIALACCOUNT_PROVIDERS = { 'stackexchange': { 'SITE': 'stackoverflow' }, 'linkedin':{'SCOPE':…
Sam B.
  • 2,703
  • 8
  • 40
  • 78
0
votes
2 answers

django-allauth - Critical login required : Allow users stored in a database only to login

I have implemented login form for username/password method, and that works perfect. I want user to be also able to login using their social accounts. I am using django-allauth to map social users to django-users. Now I want to allow only those…
Kishor Pawar
  • 3,386
  • 3
  • 28
  • 61
0
votes
1 answer

User fields not appearing on some templates

I am using an extended user model from all-auth. I am able to pull both extended model fields (like organization), as well as the standard user fields (like user.email) easily on all templates except one. Because I struggled to build an update form…
C Dodd
  • 13
  • 1
  • 2
0
votes
2 answers

Django allauth: Visit login page but already logged in

Can you set django-allauth to have a redirect link if you visit the login page and you're already logged in?
Sam B.
  • 2,703
  • 8
  • 40
  • 78
0
votes
0 answers

Django allauth bug: users get deleted from database every couple of hours without my doing anything

I'm using allauth in my Django app for basic sign-in, sign-up, password reset functionality, etc. I've attached Gmail as the social account and migrated my data tables. I have two sites set up in the the admin page: one with my domain name…
0
votes
1 answer

400 error when using email only method for authentication using django-allauth and django-rest-auth

I am trying to set up authentication using django-rest-auth and django-allauth. The user exists in the database and I can login to the django admin site. When I try to login using the rest-auth/login/ endpoint posting email/password, I receive a 400…
genomics-geek
  • 195
  • 4
  • 14
0
votes
2 answers

Allauth login on homepage not working

To allow Django's allauth to work on my homepage, I copied the allauth HTML for the login and signup forms to my own base.html (The login form can be seen here). So this successfully renders the form and its fields on my homepage. However, when I…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
0
votes
0 answers

Allauth authentication on homepage not working

To allow Django's allauth to work on my homepage, I copied the allauth HTML for the login and signup forms to my own base.html (The login form can be seen here). So this successfully renders the form and its fields on my homepage. However, when I…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
0
votes
1 answer

How do I make allauth's authentication available on my homepage URL?

So i've installed Django allauth to handle my login authentication. However I don't want a seperate URL for login. I want it to be available on my homepage via Javascript onclick (login box appears when you click a button/no page refresh). But the…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
0
votes
1 answer

django use authenticated user in models

In django, I want to use the authenticated user in my models and I'm using allauth for authentication. In my model I have: created_by = models.ForeignKey(settings.AUTH_USER_MODEL) I know now that I have to put something in my settings.py like…
cwhisperer
  • 1,478
  • 1
  • 32
  • 63
0
votes
1 answer

User Profile Creation on User model's post_save signal

I have UserProfile model that I instantiate whenever a User is created by using post_save signal everything is working fine except the ImageField in the userprofile. I am using django-allauth for signup and login. When I try to access the profile…
blueChair
  • 145
  • 2
  • 13
0
votes
1 answer

Error calling graph API with access token from django-allauth

I use django-allauth to get an access token. Then i make this call : https://graph.facebook.com/v2.8/10153430807524570/?access_token=' + access_token And i get this error message : {'error': {'type': 'GraphMethodException', 'code': 100,…