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

django - allauth and rest-auth facebook login token does not work with JWT authentication

I've followed the both packages documentations and using example from rest-auth doc. I've followed all the steps and I can successfully use this API to register/login user with facebook. API returns me token and user object but this token is not…
tmw
  • 1,424
  • 1
  • 15
  • 26
0
votes
2 answers

Django Allauth migration error

I've run across this issue before and I think I had to go into the library installed by pip to manually delete the migrations to fix it. Does anyone have a better idea? ./manage.py makemigrations Traceback (most recent call last): File…
guyja
  • 857
  • 1
  • 10
  • 19
0
votes
1 answer

Application not able to access the profile pic and posts using DjangoAllAuth

I am trying to access the profile picture and posts of the user using Django-AllAuth. Here is the template where I am trying to load the profile image: Welcome back {{ user.first_name }} {{ user.age }}
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
0
votes
2 answers

Not able to link the template page of Django

I am trying to make an application using django-allauth; My Django version is 1.11.5. I am trying to display the result on another template: facebook_personality_traits.html Here is the code: settings.py SITE_ID = 1 LOGIN_REDIRECT_URL =…
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
0
votes
1 answer

Django-allauth google authentication not working in production (apache2 + mod_wsgi)

I have deployed my django web application on my institute server using apache and mod_wsgi and I am using django-allauth google authentication. My institute network uses few proxy servers to interact with the Internet. Google authentication works…
Saket Patel
  • 413
  • 3
  • 13
0
votes
0 answers

Sorry, but we’re having trouble signing you in. We received a bad request. (AADSTS50011: The reply address)

I'm building a Django web app that allows users to sign in using their Office 365 account through allauth. However, when I try to log in I get the error Sorry, but we’re having trouble signing you in. We received a bad request. Additional…
user3005684
0
votes
1 answer

Django, How to get user sign up statistics?

I have a Django project that is using allauth to handle user logins and signups. All I am trying to do is have a way to view the sign-up stats. It would be nice to see how many user sign-ups there were today vs yesterday and so forth. I do not…
Tyler Bell
  • 837
  • 10
  • 30
0
votes
1 answer

Django allauth, multiple form signup

I'm trying to create a multi form signup with django allauth. (I originally tried django wizard, but opted out of that as sign up isn't necessarily a linear path, depending on earlier form data filled out by the user). What's the best way to get…
Yunti
  • 6,761
  • 12
  • 61
  • 106
0
votes
2 answers

Django-allauth - How do I get the form errors from Ajax?

Using django-allauth, how do I obtain form errors via AJAX login? I am using this view with my /signup/ url: from allauth.account.views import SignupView Conveniently, it accepts my Ajax call: var signupForm = function(token) { $.ajax({…
Adam Starrh
  • 6,428
  • 8
  • 50
  • 89
0
votes
1 answer

django allauth extended user model - Using default signup form

I'm using django-allauth and have extended the user model with the model below. However when I go to accounts/signup/ then the only fields that appear in the form are those in the default user model. Does allauth require a custom signup form to…
Yunti
  • 6,761
  • 12
  • 61
  • 106
0
votes
1 answer

Django allauth: empty 'signup_url, login_url and logout_url'

Using django 1.11.4 and package django-allauth==0.33.0 Login works fine The default login template 'login.html' contains a link to a signup page:

{% blocktrans %}If you have not created an account yet, then please sign…

0
votes
1 answer

Django-Allauth Pipeline Doesn't Get Called

I'm trying to get the following module called from my pipeline: def add_account(backend, details, response, user=None, is_new=False, *args, **kwargs): print ("testing") if is_new: Account.objects.create(id=user.id) with my pipeline…
Alex Creamer
  • 29
  • 1
  • 4
0
votes
1 answer

customizing django allauth form

I'm trying to add some additional fields to the allauth signup form (first_name and last_name). I'm thinking the best way to do this is to create a allauth SignupForm subclass and add my own fields (very new to django so please let me know if I'm…
user3005684
0
votes
2 answers

Allauth request.user is AnonymousUser in APIView, but is_authenticated in View

I performed this test: class IsAuthenticatedView(APIView): def get(self, request): print(request.user) return Response({ "is_authenticated": "true" if request.user.is_authenticated else "false" }, 200) and…
Berry
  • 2,143
  • 4
  • 23
  • 46
0
votes
0 answers

Sending message with Facebook Api without webhook

there is a FB login on my website, i can see Facebook app scoped user id which login to my website via fb login. I need to notify them with Fb messenger, is there need Webhook? can i send them message without waiting send message to my page. When i…
Tony Stark
  • 135
  • 3
  • 13