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

How can I access django allauth custom filed

I'd like to save and access custom field of allauth. After I save the form and try to access the data but it's empty. {{ user.school }} I only add forms.py. Do I need to add on models.py too? -> I change the models but still I can't access the…
MrKarl
  • 19
  • 1
  • 3
0
votes
0 answers

Error implementing Django Allauth facebook login on Pythonanywhere : "SocialApp matching query does not exist"

I am trying to implement facebook login using django allauth on pythonanywhere.com.The code I am using works fine on localhost. But the same set of code does not work on pythonanywhere. When I click on the "Facebook Oauth" hyperlink on the login…
Abhi.Rathore
  • 85
  • 2
  • 8
0
votes
1 answer

How to move singup\signin templates into dropdown menu?

I have a fixed navigation and I want to add dropdown box where users can singup\in (as Twitter uses). I tried: # project/tempates/signup.html {% load i18n %} {% load account socialaccount %} {% block head_title %}{% trans "Signup" %}{% endblock…
TitanFighter
  • 4,582
  • 3
  • 45
  • 73
0
votes
1 answer

How do I acquire a fresh access_token with the refresh_token after the access_token has expired?

Some providers let you acquire a fresh access_token without user interaction provided the application's permissions have not been withdrawn by the user. How do I trigger this from allauth?
frankster
  • 1,529
  • 2
  • 16
  • 20
0
votes
1 answer

Django Allauth Social Avatar picture

On my profile I show the usual profile picture. The second line shows the profile picture if they have signed in using social media (Twitter in my case). I am sure it is simple but I can't quite fathom out how to only show the relevant profile…
Alan Tingey
  • 835
  • 11
  • 39
0
votes
1 answer

drango-allauth Cannot override both Signup and Signin form

I'm trying to custom the AllAuth interface. I can override LoginForm and SignupForm separately, but if I override both of them, I got this error : Module "app.forms" does not define a "BootstrapSignupForm" class my forms : class…
Ben
  • 3,972
  • 8
  • 43
  • 82
0
votes
1 answer

How to save in Custom User model a field from allauth's customized SignUp Form?

I have custom user # custom_user/models.py class MyUser(AbstractBaseUser, PermissionsMixin): USER_ACCOUNT_TYPE_CHOICES = ( (1, _('organization')), (2, _('personal')), ) user_account_type = models.IntegerField(_('account…
TitanFighter
  • 4,582
  • 3
  • 45
  • 73
0
votes
1 answer

How can I override allauth's SignupForm class so that I can remove the emailfield's label?

Screenshot of the rendered form I have done all necessary imports and the code is fine but the emailfield's label still shows up even after setting it to false. class SignupForm(forms.Form): def __init__(self, *args, **kwargs): …
Kel
  • 53
  • 1
  • 7
0
votes
1 answer

facebook integration error, django-allauth

I want to integrante django allauth to my website, I followed the tutorial but I am facing an error while I use ElasticBeanStalk servers but not on localhost. Reverse for 'facebook_login' with arguments '()' and keyword arguments '{}' not found. 0…
Horai Nuri
  • 5,358
  • 16
  • 75
  • 127
0
votes
2 answers

How to execute code after authentication in Django?

I want to execute one or more functions after a user logs into my site. How is this possible? I looked into Middleware. Djangobook says that I'll need this to run a piece of code on each and every request that Django handles. However, I just need…
0
votes
1 answer

logout and login with different twitter account using ( Django + Allauth )

I am using Allauth to login with twitter in my Django app. I have a problem to logout from existing account to login with different one. I make logout in function logout in my views.py and within it i tried to call: from django.contrib import auth…
0
votes
2 answers

500 error from allauth when moving django app from local to production

I'm having difficulty moving my django 1.9.3 app from local development to production on Heroku, specifically using allauth (0.25.2) to login via Twitter. It appears I'm having the same problem as django allauth not working on production yet that…
jsamsf
  • 435
  • 7
  • 17
0
votes
1 answer

Should i create one or two app on facebook to use "login with facebook"

I'am adding the feature "login with facebook" to a mobile app. This feature is already existing on the web server. So the web server is already registered on my facebook developer page. Should i create a new "mobile app" on facebook or should i use…
alvaro562003
  • 678
  • 1
  • 6
  • 27
0
votes
1 answer

django allauth facebook social login callback failure

I configured my facebook app for social login Client OAuth Settings as and I saved. My app is currently live but I did not submit "Submit Items for Approval" though. Valid OAuth redirect URIs = http://www.jeviz.com/ 1-User clicks following URL for…
0
votes
1 answer

How to Override .signup() on Django-Allauth Form

I am trying to override .signup() on a form that inherits from django-allauth's SignupForm, but it does not seem to be working. My main goal is to save an instance of the UserProfile model at the same time as saving the User model. Here is the code…
Hybrid
  • 6,741
  • 3
  • 25
  • 45
1 2 3
99
100