Questions tagged [dj-rest-auth]
78 questions
0
votes
0 answers
Django Rest allauth Keycloak dj-rest-auth authentication PKCE code verifier not specified
I'm trying to retrieve access and refresh token from django rest framework(simple jwt) through keycloak authentication.
I extended dj-rest_auth.registration.views SocialLoginView for retrieving the token,
but I'm getting an error…
0
votes
0 answers
Django dj-rest-auth (django-allauth) redirection doesn't work, however, LOGIN_REDIRECT_URL is set
I'm using Django 4.1 (Djoser doesn't work with 4.x) and dj-rest-auth (if I'm not mistaken, registration is provided by django-allauth module). What am I trying to achieve is getting new user to a profile creation page ('/api/v1/new_hero/' endpoint),…

Bpem9
- 1
- 1
0
votes
0 answers
Got an error when try to use Social Auth backends fir dj-rest-auth app DRF
I wanted to add social media auth endpoints from dj-rest-auth third-party app.
I did everything from the dj-rest-auth documentation.
I am getting this strange error, though:
File…

Vlad
- 23
- 3
0
votes
1 answer
dj-rest-auth How to authenticate user with REST_USE_JWT = True when testing
I have Django Rest Framework site that use dj-rest-auth as authentication. I enable REST_USE_JWT = True in my settings.py. I want to test some API that require rest_framework.permissions.IsAuthenticated. I create client with…

whoami
- 141
- 1
- 9
0
votes
0 answers
Django "Authentication credentials were not provided" with dj-rest-auth, all-auth and simpleJWT
I've been struggling for over a week with this issue.
This is definitely an authentication problem. I implemented social google login with dj-rest-autj, all-auth and simple JWT. Credential flow is, first, getting access_token from google which is…

Tw1682
- 1
- 1
0
votes
0 answers
Flutter Web Sign in with google WITHOUT firebase gives null access token
im trying to implement google sign in with my flutter application which sends the access token to my django back end.
I have everything working except, I seem to keep getting null access token. I get the ID token but that I can't send to my back…

Karan V
- 163
- 2
- 10
0
votes
0 answers
Can I get auto-generated signin forms in dj-rest-auth, instead of manually writing an html form?
I'm adding dj-rest-auth to my django application. It's a traditional Django app rather than an SPA -- no react etc. I looked to the demo app hoping to basically use those patterns. However, I'm disappointed to see that the templates have hard-coded…

foobarbecue
- 6,780
- 4
- 28
- 54
0
votes
1 answer
Unable to perform user registration with Facebook using allauth and django-rest-auth. getting incorrect value error
I am trying to implement social authentication, I am using django-allauth, django-rest-auth for this.
my views
from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter
from allauth.socialaccount.providers.oauth2.client import…

umair mehmood
- 529
- 2
- 5
- 17
0
votes
2 answers
(401 error) After installing dj-rest-auth and deleted a user from user table, server keeps returning 401 error for all endpoints
I'm trying to use login/connect social accounts using dj-rest-auth. I use postman to test api request.
I installed according to dj-rest-auth doc.
I worked smoothly until I delete a user from user table.
My testing process steps:
dj-rest-auth/login…

Saw
- 21
- 6
0
votes
0 answers
How to detect if a user is logged in Django from React
I'm trying to develop a react-spa & django api (DRF), and use the django inbuild session authentication system. For this, both apps while use the same domain, react build files will be served as django static files.
I'm also using the dj-rest-auth…

Jorgelg3
- 1
0
votes
1 answer
Django dj-rest-auth does not set cookie despite JWT_AUTH_REFRESH_COOKIE
I have a simple Django app managing user autentication and registration with dj-rest-auth and JWT.
Accorging to the docs, I have set the the app to use JWT with the plugin simple-jwt with settings.py:
JWT_AUTH_COOKIE =…

user840718
- 1,563
- 6
- 29
- 54
0
votes
1 answer
How to use dj-rest-auth with many clients
I'd like to have many different clients be able to access my django website (more specifically its API) but I'm not sure how to do this with django-allauth, dj-rest-auth and simplejwt.
My current client app is using the built in django template…

gmcc051
- 390
- 3
- 17
0
votes
2 answers
NoReverseMatch: Reverse for 'account_confirm_email' not found. [dj-rest-auth]
I am new to Django. I'm trying to implement jet authentication along with social authentication.
I'm following this tutorial https://jkaylight.medium.com/django-rest-framework-authentication-with-dj-rest-auth-4d5e606cde4d
I tried to implement the…

Dubey sai vithal teja
- 43
- 1
- 10
0
votes
0 answers
allauth registeration request is returning 500 smallint out of range
I recently migrated my database to PostgreSQL, and up until then, everything was working fine.
now when I send a registration request the server is returning the following error (Although the user is being created in the database just fine).
I am…

saad shayah
- 1
- 1
- 2
0
votes
2 answers
Django rest authentication with email verification redirect to flutter app
How can I redirect a user to the mobile app developed in flutter after he has confirmed the authentication link sent by email? I need the token included in the link (same for password reset).
Right now it takes me back to the django rest page.
I am…

Wag
- 3
- 4