Auth Refresh Tokens - React Tutorial 48

  Рет қаралды 17,488

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер
@codebreakthrough
@codebreakthrough 2 жыл бұрын
⚛ FREE React Course (download & bonus content) - calcur.tech/free-react-course React KZbin Playlist - calcur.tech/react-playlist Code - github.com/CalebCurry/react github.com/CalebCurry/react-backend-django Backend Python - www.codebreakthrough.com/backend-python
@SauerkrautNCheese
@SauerkrautNCheese 2 жыл бұрын
Okay, I’ve been subscribed a couple of years now. You were doing SQL videos when I needed them back in college, and now I’m doing a react job that requires the use of token based authentication, and last night I was stuck on a refresh token problem and here you are again, stepping in to save me. Caleb Curry you’re my hero.
@codebreakthrough
@codebreakthrough 2 жыл бұрын
You’re the best! Thanks for sticking around
@codesymphony
@codesymphony 2 жыл бұрын
You should show how to include the cleanup function to remove the set interval
@Nullfighter
@Nullfighter 2 жыл бұрын
Hey Caleb, I have a UserContextProvider component that returns its children wrapped in a UserContext.Provider. I was trying to do your UseEffect function within the aformentioned component. When I log in, the refresh interval starts as expected (after checking if the user is logged in). But when I log out, the interval does not stop. I thought it would, because I thought my isAuthenticated value would become false. Do I just need to run clearinterval() in the useeffect's cleanup?
@Nullfighter
@Nullfighter 2 жыл бұрын
Great videos btw. I have been building my app out and then looking for your relevant videos when I get stuck. I also used your C# series to learn the language and have a C# API as the backend for my React app!
@tomekk3569
@tomekk3569 6 ай бұрын
Great explanation! Thanks 😎😎
@farhadvakilijamil2987
@farhadvakilijamil2987 Жыл бұрын
Really Bro????🙃🙃🙃🙃. Are you kidding me??? which wise programmer do it just like you? have you every worked with laravel ? if you worked wih laravel you understood laravel framework refresh token in every post request. not just like you .
@arthcruz
@arthcruz 8 ай бұрын
Not everything is Laravel. It's important to know how things works behind the scenes.
User Register Form and API - React Tutorial 49
12:46
Caleb Curry
Рет қаралды 3,3 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 187 М.
What are Refresh Tokens?! and...How to Use Them Securely
19:29
How to Store JWT for Authentication
8:28
Ben Awad
Рет қаралды 214 М.
React And Django Secure Authentication #1 | JWT tokens
19:07
Matt Makes Code
Рет қаралды 6 М.
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
Role-Based Authentication in React (Complete Tutorial)
26:31
Cosden Solutions
Рет қаралды 39 М.
Build Your Own SSO | What is SSO | SSO Explained
17:20
Piyush Garg
Рет қаралды 44 М.