Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
104 views

I am upgrading my Django project to v5.2.7. After installing requirements.txt with the upgraded versions of all libraries, I ran the command to validate the code python manage.py check But it is ...
Charmi's user avatar
  • 125
0 votes
2 answers
182 views

In my React + Django project, I’m currently sending the refresh token as an HttpOnly cookie. The problem with HttpOnly cookies is that they are automatically sent by the browser, which makes them ...
Sibi K's user avatar
  • 9
0 votes
0 answers
50 views

I am creating my 1st django-react application, but i got stuck on the login process. Currently i am using simplejwt, while i can keep the access token inside react state, the refresh token has to be ...
ONF's user avatar
  • 11
0 votes
0 answers
48 views

The classic issue of browser cache and back navigation button. How can I make all necessary actions in backend that client can successfully log out? I have implemented simplejwt token to http cookies, ...
Jeipii81's user avatar
0 votes
1 answer
142 views

This question may be too broad for StackOverflow, but I'm not sure where else to go for help. I wrote a simple authentication system in Django with Djoser and its JWT implementation, using jQuery on ...
bur's user avatar
  • 899
0 votes
0 answers
86 views

I have, rather sillily, run "python manage.py migrate --fake" when I added Django SimpleJWT's token blacklist functionality to my program. This means whenever I try to generate tokens or use ...
fiocotti's user avatar
1 vote
0 answers
26 views

Context I am using django-rest-framework with simple-jwt authentication configured with a NextJS/React frontend, and when making a request to my django server from a react server component, I realised ...
Kilan Van Loo's user avatar
1 vote
0 answers
69 views

I am using Django Framework with DRF to generate APIs at the backend. I am using python script as an standalone windows based application to retrieve and send data to the backend server which is ...
Prasad Dixit's user avatar
1 vote
2 answers
799 views

I am doing a project with REST API and Django Rest Framework. I currently have an issue in my post request where some of my endpoints return HTTP 401 Unauthorized, though all other get or update ...
Sabab's user avatar
  • 35
-1 votes
3 answers
89 views

I have tried call API From FE with API is: http://localhost/search?userName=... get(endpoint: string, responseType = 'json', params: HttpParams = null): Observable<any> { let url = this....
TCNJK's user avatar
  • 9
-1 votes
1 answer
702 views

I am using simple jwt for my django rest framework project. I tried accessing using barrier token in postman it shows this error { "detail": "Authorization header must contain two ...
Rohit Gajula's user avatar
0 votes
0 answers
79 views

I am using the Django Rest Framework for my backend and React for my front, and they are served in different domains and subdomains, and now I am completely confused about what I should do to secure ...
webdeveloper's user avatar
0 votes
1 answer
43 views

I am building a React Native app with Django as the backend. I have set up the login screen in React Native and configured JWT authentication with rest_framework_simplejwt in Django. However, I ...
ahmed's user avatar
  • 25
0 votes
0 answers
26 views

I'm not using password, by default simplejwt requires a default user so it prompts me for username, password and mobile_no - but I only want to user mobile no. I tried to override the ...
Abdulaziz Hussein's user avatar
0 votes
2 answers
159 views

I am working on a Django project and I am using Djoser as my auth library. However, when a user is trying to create a jwt token it returns { "detail": "No active account found with ...
Ayatoo's user avatar
  • 53
0 votes
3 answers
1k views

I am facing an issue with storing a JWT token in Next.js 14. I want to load a page using SSR, but localStorage is not supported in server-side components. My scenario is as follows: after logging in, ...
Tanvir Ahmmed's user avatar
0 votes
1 answer
49 views

I’m trying to restrict access to some views of my API using Django Rest Framework and simpleJWT https://django-rest-framework-simplejwt.readthedocs.io/ The issue I’m facing is that postman correctly ...
tchouang's user avatar
0 votes
2 answers
244 views

I have this simple view I built using Django REST framework: class ProductListCreateAPIView( StaffEditorPermissionMixin, generics.ListCreateAPIView): queryset = Product.objects....
Abdullah Shekfeh's user avatar
0 votes
0 answers
40 views

I was following the documentation on drf social auth https://github.com/st4lk/django-rest-social-auth/tree/master I've encountered an issue while working with Django-Rest-Social-Auth and Simple-JWT. ...
penguinz0's user avatar
1 vote
2 answers
506 views

I'm using Python 3.9, Django 3.2, DRF 3.12.4. I'm adding JWT authentication method using simple JWT. To test my auth method, I need to set "DEFAULT_AUTHENTICATION_CLASSES": ( "...
const_domino's user avatar
0 votes
2 answers
235 views

In my django rest app i like to change the default error response from JWTAuthentication. Currently my application is using JWT With django to work on login and logout (which blacklists the token). ...
Yash Marmat's user avatar
  • 1,205
0 votes
1 answer
197 views

Hi I want to implement jwt login method in django rest framework. Below are the libraries I use. asgiref 3.7.2 Django 5.0 django-debug-toolbar 4.2.0 djangorestframework 3.14.0 djangorestframework-...
dj-Yang's user avatar
  • 138
0 votes
2 answers
150 views

I'm starting to write tests for my endpoint, "categories/", and I can't get past a custom permission that I have added to the view that is being tested. In this permission, it checks the ...
JDiamond's user avatar
2 votes
0 answers
220 views

I'm currently working on a Django project, and I'm exploring the use of authentication mechanisms provided by Simple-JWT. In the documentation, I noticed the option of using ...
Anu's user avatar
  • 21
0 votes
1 answer
131 views

Each time an authorized API call is made using a bearer token (specifically a simple JWT), a database query is executed to retrieve user details, even though JWT Authentication is supposed to ...
Anu's user avatar
  • 21

1
2 3 4 5
8