18. Blacklisting Refresh Tokens using Redis | Node JS API Authentication

Опубликовано: 06 Октябрь 2024
на канале: Mafia Codes
22,175
310

#JWT #jsonwebtoken #api #authentication #dotenv #bcrypt
In this video we will see the logic of blacklisting our refresh tokens and for that we are going to use Redis to store the tokens and then validating them before generating a new pair.

🚀 Deploy NodeJs app: https://zeet.co/r/yourstruly
(One FREE project forever 😘)
In 60 seconds    • How to Deploy a NodeJs app with SSL, ...  

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_me...

FREE $100 credit @Digital Ocean: https://m.do.co/c/3208f08b3324
Subscribe: https://www.youtube.com/c/yourstruly2...

Support the channel:
Paypal: https://www.paypal.me/trulymittal
Patreon:   / trulymittal  

Github (full-tutorial): https://github.com/trulymittal/API-Au...

References:
https://jwt.io/
https://tools.ietf.org/html/rfc7519#s...
https://www.iana.org/assignments/jwt/...

———————————————
More useful videos
———————————————
RecyclerView:    • Recycler View with complete explanati...  
ViewModel:    • View Model | Live Data | Android Jetp...  
NavigationComponent:    • Navigation Component | Android Jetpac...  
WorkManager:    • Work Manager | Android Jetpack | Intr...  
Retrofit:    • RETROFIT Tutorial (v 2.5.0) | HTTP Cl...  
CollapsingToolbar Layout:    • Collapsing Toolbar Layout | Android S...  
BottomNavigation View:    • Bottom Navigation View | Android Stud...  
KeyframeAnimations:    • Keyframe Animations with ConstraintLa...  
NightMode:    • Night Mode | Dark Mode | Android 🌙  
ButterKnife:    • Butter Knife | Field and method bindi...  
SplashScreen:    • Splash screen | Launcher Activity | A...  
Singletons:    • Singletons | What When How 🔥  
Pull to Refresh in RecyclerView:    • Pull to Refresh in Recycler View | An...  
On item click using Interface in RecyclerView:    • RecyclerView item Click using Interfa...  
Swipe gestures in Recycler View:    • Swipe gestures in Recycler View | And...  
Drag and drop Reorder in Recycler View:    • Drag and drop Reorder in Recycler Vie...  
Filter using #SearchView in RecyclerView:    • Filter RecyclerView using Search View...  
MultiView RecyclerView:    • Multi view RecyclerView | getItemView...  

———————————————
Other useful Playlists
———————————————
Android:    • Android  
#Firebase:    • Firebase | Build a Notes App  
#RestAPI (#NodeJS and MongoDB):    • REST API using NodeJS and MongoDB  
Docker:    • Docker  
MongoDB:    • Learn MongoDB in 50 minutes (Crash Co...  
Html/Css/Js:    • HTML / CSS / JS  
Challenges:    • Challenges  

———————————————
What I use
———————————————

Mouse: https://amzn.to/2O9RJtu
Keyboard: https://amzn.to/2qxajCU
Keyboard 2: https://amzn.to/2XDWH4X
Monitor: https://amzn.to/2pDg7dH
Processor: https://amzn.to/347WWIb
RAM: https://amzn.to/2QEkUqw
Graphics: https://amzn.to/33aBrF4
Microphone: https://amzn.to/2DabdI9

#yoursTRULY #tutorial #howto #android