Django & React JS Authentication App #7: Create Backend Login Functionality Using Django Rest Knox

  Рет қаралды 1,201

CBI Analytics

CBI Analytics

Күн бұрын

Пікірлер: 9
@arunsankar8403
@arunsankar8403 9 ай бұрын
Amazing series of videos. Greatly helpful. No one could have explained all these better.These Videos are the best.
@LiftHeavyer
@LiftHeavyer 9 ай бұрын
Great work!
@CBIAnalytics
@CBIAnalytics 9 ай бұрын
Turns out we dont actually need our own authenticate function. In the settings you can just leave it as: AUTHENTICATION_BACKENDS = [ # 'users.authback.EmailBackend', "django.contrib.auth.backends.ModelBackend", # this line fixed my problem ] Im also adressing this in video number 11 so feel free to just follow along ;)
@candydeck8659
@candydeck8659 8 ай бұрын
Hi ! Thanks again for your videos ! Are you. by any chance, planning to create a serie on LDAP auth ? thanks
@codernerd7076
@codernerd7076 9 ай бұрын
Will you also do Google login and 2FA?
@CBIAnalytics
@CBIAnalytics 9 ай бұрын
Is not on the schedule right now, but might extend the series to also include social authentication and 2FA.
@codernerd7076
@codernerd7076 9 ай бұрын
@@CBIAnalytics it's still amazing without it!
@jowanhajmahmoud7864
@jowanhajmahmoud7864 5 ай бұрын
what about refresh tokin?
@CBIAnalytics
@CBIAnalytics 5 ай бұрын
@@jowanhajmahmoud7864 you dont need to handle that. Knox takes care of expiration of tokens (you can set an interval in your settings). When the token is invalid I send the user to the login page to login again. I think you can also let it auto refresh if you want.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
DJANGO VS REACT: KNOW THE DIFFERENCE
3:18
Olibr
Рет қаралды 3,2 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН