1,716 questions
0
votes
0
answers
122
views
iOS/web Auth Client ID Handling for Google Sign In
To preface, I'm not asking for a direct fix here, I'm just curious if what I'm doing is the appropriate auth flow for setting dynamic client ID based on device platform.
I am 2 applications that use ...
2
votes
0
answers
160
views
How to authenticate requests with django allauth (headless)
I am always getting a 401 response after login to django-allauth on session (and other endpoints). See example code:
def login(email, password):
response = requests.post(
f'{baseurl}/api/...
0
votes
1
answer
142
views
dj-rest-auth + allauth not sending email
Context: I'm setting DRF + dj-rest-auth + allauth + simple-jwt for user authentication.
Desired behaviour: Register with no username, only email. Authorize login only if email is verified with a link ...
0
votes
1
answer
118
views
OIDC django-allauth - kid lookup uses x509 instead of jwk when upgraded to 65.11.0?
We recently upgraded to django-allauth[mfa, socialaccount]==65.11.0 where we are using an OIDC-provider that extends OAuth2Client and we discovered that one of our SocialApplication configs that is ...
1
vote
1
answer
164
views
Django REST Auth password reset email sends API URL instead of frontend React URL
I am using dj-rest-auth with Django as the backend and React.js as the frontend. I want the password reset email to point to my React frontend URL, not the default API endpoint.
Sending: http://...
2
votes
1
answer
80
views
How to change the rpId (Relying Party ID) in Django-Allauth
I'm trying to implement passkeys, more or less like https://react.demo.allauth.org/account/login. It's working at localhost, but when I deploy my application I'm not able to login because the rpId ...
0
votes
0
answers
91
views
Is backchannel logout for OIDC supported in django-allauth?
I have a Django app that uses django-allauth. My OIDC provider supports backchannel logout and I would like to support this in my Django app.
I could not find an included View so I built my own custom ...
1
vote
2
answers
150
views
How to use CustomUser with dj_rest_auth to sign up with email and password
How to use CustomUser with dj_rest_auth to register with email and password.
I have the source code below, but the username information is required during the sign-up process.
I would like to know how ...
0
votes
1
answer
241
views
React + React Native + Django AllAuth
I'm running a Django server which has API's I consume through a React Native and React applications.
I want it to work for Google, Facebook, Instagram and Twitter.
For this question I want to focus on ...
0
votes
1
answer
73
views
Django-allauth - Make phone number optional for SocialLogin
I am using django-allauth in my project and I have configured Google as a SocialAuth provider. I have a custom signal receiver that updates the phone number on the SocialAuthAccount after the user ...
2
votes
2
answers
780
views
django-allauth W001: ACCOUNT_LOGIN_METHODS conflicts with ACCOUNT_SIGNUP_FIELDS with Custom User Model (email as USERNAME_FIELD)
I'm working on a Django project using django-allauth and dj-rest-auth for authentication. I've set up a custom user model (CustomUser) where email is the USERNAME_FIELD and username is set to None.
I'...
0
votes
0
answers
70
views
I'm trying to integrate Google SSO into my Django app, but I keep running into an issue
I'm 99% sure it has to do with my custom authentication model, as shown below:
from django.contrib.auth.backends import ModelBackend
from django.contrib.auth import get_user_model
from django.db....
0
votes
1
answer
98
views
Django allauth social account autoconnect
I got a Django-allauth backed site with legacy local users most of which eventually should be connected to social login upon their next sign-in, whenever that might be. Only supported social provider ...
1
vote
1
answer
209
views
Implementation of django-allauth-ui==1.6.1 in the project
I'm trying to get through the tutorial https://www.youtube.com/watch?v=WbNNESIxJnY&t=499s. At 4:17:26 the author implements the django-allauth-ui library into the project. The tutorial is from 10 ...
0
votes
1
answer
139
views
Google OAuth2 Signup in Django: 'Bad Request' Error on First Signup Attempt
I'm working on integrating Google OAuth2 login/signup with Django, but I'm encountering an issue during the first signup attempt.
The Flow:
New User Registration using Google.
The user clicks on the ...