Access token and refresh token in Backend

preview_player
Показать описание
Welcome to chai aur code, a coding/programming dedicated channel in Hindi language. Now you can learn best of programming concepts with industry standard practical guide in Hindi language.

All source code is available at my Github account:

Instagram pe yaha paaye jaate h:

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

Thanks to Hitesh Sir, I overcame challenges at my tier 3 college, only because of him, I had no guidance earlier but this man, is the greatest teacher of all time. His teaching style is a game-changer. I've created projects, gained confidence, and salute him. May his influence endure for centuries. Hats off, Sir!

omwarade
Автор

Meri Logic bohot Improve ho gayi hain iss series follow karne ke bad. many many thank you from bottom of my heart

drlvphkn
Автор

Access points are the key which a suer generated post login .
This is generally of shorted duration . When the session is complete, now user has two options one is to enter the password again and other one is to hit an api end point to refresh token . From both the two, second one is more useful since it is long duration key and can bee refreshed to increase the session and user had not to enter the password manually

AND LOVE TO HITESH SIR 👌👌👌👌❤❤

harshit
Автор

i am happy ki jo bhi aapne mistakes batayi meri unme se ek bhi nhi thi :)

anonyone
Автор

accessToken: shortlived, main token used for auth, not stored in database, sent to user only
refreshToken: long lived, token used to generate main token ie, accessToken (ofcourse, based on its validity), stored in the db and sent to the user also

jgcjlmm
Автор

Access Token - Short lived, not stored in db
Refresh Token - Long lived, stored in db
When access token expires, the frontend sends the refresh token to the backend to validate user (login), once again.

soumyajitnaskar
Автор

i have been following your series from the javascript, react and now this.. and i can now confidently say that now i know what I am coding, back then use to watch so much of tutorials just to forget it the next day.. but yours teaching approach tends to make me understand why this things are being used from a simple concept of cors to the advance. you have made me understand the core of it. I hope you keep on teaching such valuable resources..

TenzDelek
Автор

Making a separate video for this was actually great, awesome!

saadatbadgujar
Автор

Sir, Thank you ki aapne video ko 2 part me rakha. Isme concept clear hogai meri.

mohammad-aman
Автор

Guruji aapka bahot sukriya, aaysa course quality duniya me kahi or exist hi nhi krta ❤❤❤❤

sufiyanahmad
Автор

Thank you soo much sir, I'm currently working as a frontend dev in my org and got the opportunity in the current project to almost handle everything be it a frontend, backend or db reports. I was able to understand the things but in backend I do get few dobuts in multiple places while developing the new functionality. But since we've little tight schedules and project is also live so have to handle bugs as well so mostly I fail to clear all my doubts and just wrote the things just to make things work. But after the end of this 16th video I'm understanding most of the things and able to work in backend as well now as easily as I work in frontend. Thanks alot sir for your guidance.

ayushyajaiswal
Автор

its a complete package of backend. any course can not have this type of quality. thank you for this sir.

meet_rakholiya
Автор

I am following your videos on this channel and your English channel now
Not only I have learned JavaScript (in depth), React and now back-end, I have also learned to debug my code properly by reading the errors calmly.
I used to get anxious & frustrated, then quit projects just because of that, thanks for changing my habits

len
Автор

HItesh sir is mentor and true inspiration for me i come from that background that i can't even finance my livehood and i am studying my diploma in electrical and electronics i watch hitesh sir videos in my 2nd hand broken phone and visit the cyber shop monthly twice and make notes in my notebook and code the project and learning full stack development from chai aur code may this channel growth increase exponentially in 2024 because for sure if he wasn't there i would not be able to learn this much insights of tech thank you very much sir for sure ....

bus aj tak kabi kisi kay saat apnay internal matter share nhi kiye hai aj karnay ka man kara thanks a lot hitesh sir

bus aur kya chai ☕ piyo aur 😭😭😭😭 chil karo

boomaboom
Автор

Right now, you're heartbeat of every 2nd-3rd year student. Hopefully we will complete this project. Thanks a lot sir

adarshjhaxiif-
Автор

Kuch mahine pahale mai Linkedin ki api se kuch develop kar raha tha, usme bhi kuch refresh aur access token ka scene tha. Access token to pata tha but ye refresh token wala concept mujhe to bilkul samj nahi aaya tha tab.
Ye video dekhne ke baad aur khud code karne ke baad clear hua hai concept 😌

theshubhagrwl
Автор

Itne detailed me koi nahi padhata h even paid course me bhi nahi koi padhata sir. Hats off for your hardwork❤ lots of support.

shahhussain
Автор

First of All Thanks Hitesh Sir, and I just want to say that, the ease with which you explain the concepts that too in great detail is just amazing.

mohitwadhwani
Автор

Thanks Hitesh Sir, I am here to refresh my concepts for Production based projects. I am regaining my confidence back.
Thanks a lot.

nehabansal
Автор

I remember when I was trying to learn redux and other YT videos are very confusing their, then the video on redux of hitesh sir came then the concept of redux became very easy for me

sagaryenkure