JWT Logout View with Refresh Token BlackList. Django Rest Framework Project Tutorial [24]

  Рет қаралды 16,903

Cryce Truly

Cryce Truly

Күн бұрын

Пікірлер: 19
@mehboobshaikh8396
@mehboobshaikh8396 3 жыл бұрын
can you make a video on how to integrate keycloak with django rest framework?
@zaheeruddinbaber6762
@zaheeruddinbaber6762 2 жыл бұрын
sir the logout didnt work for me.. after logout i can still access other urls with same token access token. how to fix it?
@takibahmed8859
@takibahmed8859 3 жыл бұрын
Hello sir, thanks for the video. I was wondering how can I delete the stored jwt token from client-side in django?
@thedjangoway9052
@thedjangoway9052 4 жыл бұрын
Thank you sir. Can you please teach us how to use react as template for django?
@nikhilbhardwaj6055
@nikhilbhardwaj6055 2 жыл бұрын
In my case blacklist token not storing user credential and also I'm able to produce new access token with blacklisted refresh token
@kumarbanavathu7716
@kumarbanavathu7716 2 жыл бұрын
in restframeowrk simple jwt settings SIMPLE_JWT = { 'ACCESS_TOKEN_LIFETIME': timedelta(minutes=5), 'REFRESH_TOKEN_LIFETIME': timedelta(days=1), 'ROTATE_REFRESH_TOKENS': True, 'BLACKLIST_AFTER_ROTATION': True, # remaining settings }
@vikalpjha5070
@vikalpjha5070 2 жыл бұрын
How can I Authorize in Postman Like Swagger? I tried using bearer Token option but it isn't working
@resistancemove
@resistancemove 3 жыл бұрын
Big Fan Sir
@estebandelahoz1942
@estebandelahoz1942 3 жыл бұрын
Doesn't allow you to delete the user by permissions when I'm in admin
@mdshabbirrr
@mdshabbirrr 3 жыл бұрын
logout didnt work for me.. after logout i can still access other urls with same token
@carlosriossuarez2561
@carlosriossuarez2561 3 жыл бұрын
the same happens to me
@mdshabbirrr
@mdshabbirrr 3 жыл бұрын
@@carlosriossuarez2561 jwt tokens are stateless, there is no way you can expire it. The only possible way is to keep access token relatively shorter time and refresh token bigger time, and blacklisting the refresh token after logout. Still if you logout with all these you can access the URLs in that shorter access token time..
@iuliiamukhamadiarova2292
@iuliiamukhamadiarova2292 3 жыл бұрын
@@mdshabbirrr yes, thanks, you are right. After logout i can still access other urls with same token, but when I decrease a lot token lifetime, e.g. set "ACCESS_TOKEN_LIFETIME": timedelta(seconds=60) after 1 minute left after logout I have no access to other URLs with this token anymore
@nikhilsahu2242
@nikhilsahu2242 3 жыл бұрын
hello, i am getting Deleting the user account 'nikhil' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects: outstanding token superuser why not delete user in admin
@estebandelahoz1942
@estebandelahoz1942 3 жыл бұрын
Same problem
@shashankgehlot5683
@shashankgehlot5683 3 жыл бұрын
doesn't work when you are using mongodb database. you are gonna get stuck at migrations.
@mohammedkamel4079
@mohammedkamel4079 3 жыл бұрын
did you solve the issue. Will appreciate if you told me how
@iambhushan418
@iambhushan418 3 жыл бұрын
hey you might have got dabase.error but its working without applying that 1 migration also. It does makes collection for blacklisted token and outstanding tokens, I am using djongo.
@I_think_its_funny
@I_think_its_funny 2 жыл бұрын
Mongo Db is not supported by Simple JWT
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 114 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 253 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,2 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 45 МЛН
Authentication & Refreshing Tokens Implementation
2:09:53
Dennis Ivy
Рет қаралды 238 М.
Django API Authentication using JWT Tokens
37:06
Scalable Scripts
Рет қаралды 185 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 114 МЛН