React Login, Logout and Handling JWT Token | React Authentication #2

preview_player
Показать описание


#react #jwt
Рекомендации по теме
Комментарии
Автор

Check out these playlists if you are interested:

ScalableScripts
Автор

I have to thank you A LOT, you are helping me to understand quite well how this ----laravel -> authentication -> react -> get data from back---- works.

cristianlevisulbaranrivas
Автор

you made this like a professional tutor, straight to the point great job thanks

standforlife
Автор

If you find yourself in need of checking user's token every time you make an API call instead of everytime you re-render the whole app, you can use axios interceptors

monstardev
Автор

glad to hear woman voice in programming tutorial ahahahh 😂😂😂

asgaraliyev
Автор

Very easy nd clear explanation... Thanku for the video

harikaprasanna
Автор

Very informative..i am new to the trade. Would you have a tutorial that uses axios to login and register, and only allows the user to access certain pages only after login in? Doing a project on that, and experiencing some glitches.

De_Bryan
Автор

Thanks a lot for the video, I have been looking for it for 2 months.

bantirathod
Автор

very good and straight to the point! thanks!

nikosspiropoulos
Автор

Tutorial was good but you should use functional components with hooks, cuz this the current trend and the smart way of react coding.

shohagkhan
Автор

I just got a doubt watching u do something in componentdidmount.
You made it an arrow function.
Yes the purpose of using arrow functions is to bind to this to our object/class.
For eg. We have a change handler for text input.
We make the handler function either a arrow function or bind(this)
And then use this.setState


And my question is
I have been using this.setState in componentDidMount without making it arrow or bind to this. It works.


Is it because onChange handler is just a function called.. and componentdidmount is method called on class
And method invoked binds this value automatically??

arunKgowda
Автор

Never store your JWT in localstorage or cookies. People can use XSS and CSRF attacks to steal token and make api requests on someone else’s behalf

productionsofchildrenchild
Автор

Can you share your github link that about this part? 🙏

sleepcycle_
Автор

Fetching every time token from local storage. Wouldn't that will cause delay in API calls?

kailashuniyal
Автор

How to manage authentication using React Query?

DevOpsHasan
Автор

Hello, Can i get source code of this react application.

akshitshetty
Автор

am hitting login endpoint is create a new record only not return token can u help me or axios local host backend video can u send me link

ajithanandan
Автор

I like this channel and I can see it success in the near future, a little suggestion you need to talk more or add soft background music.
Wish the best for you, keep going.

CoentraDZ
Автор

Please add video react + redux login with otp

madhurijadhav
Автор

please i need your help i try to send data during my register form authentication with axios to my server and is telling me err connection refused how can i resioleved this problem

ChrisvalMichaels