JSON Web Token Authentication and RefreshToken . Django rest framework project tutorial[7]

preview_player
Показать описание
JSON Web Token Authentication and RefreshToken . Django rest framework project tutorial[7]

Support the channel
Рекомендации по теме
Комментарии
Автор

You have no idea how much your tutorials have helped me, when it came to jwt, refresh token and email verification. Reset password. Thanks for the tutorials. Stay blessed

razorx
Автор

You are the man, from Mozambique here! Your videos help me too much.

assaneaide
Автор

This is really good. Perfect usage while overriding default jwt usage. Exactly what I needed

donaldjunior
Автор

You are my best thank you may God keep blessing you

tobiotenaike
Автор

Thank you so much! You cleared many concepts for me. It was really helpful

md.hussainulislamsajib
Автор

Hello @Cryce Truly been keenly following your work as we are migrating to class based views. Thanks a million.
I am facing an error in our LoginSerializer, after calling, authenticate(email=email, password=password), I get None, when there is infact a user in the Database, I have tried reading from StackOverflow and the Docs but everything seems fine. I have even copy pasted the code, but the user doesn't exist. How do I go about this but when I log email or password I can see the values, but can't authenticate them.

muhammadnomaniqbal
Автор

how can i create and send an access and refresh token if i don't want to customize my User model

withkonan
Автор

I'm having issues my user variable is returning None

oyeyinkaojora
Автор

Hey Semy, brilliant tutorial, you have solved a lot of problems I have been trying to understand in user access. But I am stuck with extracting the Refesh and Access tokens in my Angular front end because they come down as a nested object. Can you give some guidance on how to extract them so I can save them to local storage or a cookie?

greghalliday
Автор

can someone explain what he had done in 13:52 what exactly is pdb

hardikpoudel
Автор

if you're encountering errors decoding your token as string, you might want to manually downgrade to PyJWT==1.7.1 as it worked for me.

Jesufemi_O
Автор

i keep getting invalid user token when i want to verify the user anu help
who has been able to finish this and is having a complete code

benjaminagyekum
Автор

1. I need login with username or email or mobile
2. Login with email and OTP
3. Login with mobile and OTP

lalitkumarmbm
Автор

have an issue that i hope you can help me with at the moment of register a new user it does not hash the password it saves it in plain text and at the moment of login it can not log in because authenticate is searching for the hashed password i have tried in the manager using the make_password when we set the password and also in the RegisterSerializer and it has not worked yet can you guide me or tell me what i am doing wrong

balogunadedamola
Автор

I have been following your DRF tutorials and everything worked fine for me thanks to you but while registering user it's saving password in clear text and that's why I'm not able to login. Any suggestion?

roniroy
Автор

I have a simple question. After completing the registration with token validation, why do I need token for Login. Login could be simple, without token.

pradiptakumarmandal
Автор

can you please create a tutorial for django Oauth toolkit. and login with just username and password?

SuyuPetkar
Автор

RefreshToken.for_user() function gives error for arguments in python 2.7. Is there any way to make this work in python 2.7

ayushigupta
Автор

Hey I am facing this error in while login please help

TypeError at /auth/login/
Got a `TypeError` when calling `User.objects.create()`. This may be because you have a writable field on the serializer class that is not a valid argument to `User.objects.create()`. You may need to make the field read-only, or override the LoginSerializer.create() method to handle this correctly.
does any one have its solution??

iambhushan
Автор

Can we generate token without User model by using our models like Employee, Student etc...

prabhashswain
welcome to shbcf.ru