That's fantastic to hear! I'm glad the series has been helpful for your project. Your support and enthusiasm motivate me to continue creating valuable content.
Could we create a video illustrating a scenario where a user attempts to log in on multiple devices? This method won't support refreshing tokens across all active login sessions.
That's a great suggestion! Role-based authorization (RBA) is a crucial aspect of building secure applications. I'll definitely consider adding more content on RBA to the course.
Hey, I'm trying to create a context for my navbar to display some user properties that can change over time. I want to update this context both when the token is refreshed and in some client-side components. For example, the user has a number that ranges from 1 to 5 and increases every 4 hours. Sometimes, this number might decrease on the site. I would like to update the navbar context every time the token is refreshed (using the refreshToken function in authOptions) and also when certain client-side components are used. Is this possible?
Hey @tutuacs2827! Use React's Context API to manage and update user properties. Update the context in your refreshToken function and in client-side components as needed. This will keep your navbar in sync with the latest data. If you need more details, feel free to ask!
Hey Developers! Please Like, Share, Subscribe, and comment your thoughts below-your support means a lot to me! ❤❤❤
This particular series has come handy for a particular project i actually want to start, keep up the energy.
That's fantastic to hear! I'm glad the series has been helpful for your project. Your support and enthusiasm motivate me to continue creating valuable content.
Keep up the great work!
Thank you! I appreciate the encouragement. I'll keep doing my best! 😊
Excellent…🔥🔥🔥💯🏄♂️ thank you 🙏
You're very welcome! I'm glad I could help. ❤️❤️
Could we create a video illustrating a scenario where a user attempts to log in on multiple devices? This method won't support refreshing tokens across all active login sessions.
I will search for the solution and create a video about that.
Please add more features like role based authorization
That's a great suggestion! Role-based authorization (RBA) is a crucial aspect of building secure applications. I'll definitely consider adding more content on RBA to the course.
@@SakuraDevThanks pro
Hey, I'm trying to create a context for my navbar to display some user properties that can change over time. I want to update this context both when the token is refreshed and in some client-side components.
For example, the user has a number that ranges from 1 to 5 and increases every 4 hours. Sometimes, this number might decrease on the site. I would like to update the navbar context every time the token is refreshed (using the refreshToken function in authOptions) and also when certain client-side components are used. Is this possible?
Hey @tutuacs2827! Use React's Context API to manage and update user properties. Update the context in your refreshToken function and in client-side components as needed. This will keep your navbar in sync with the latest data. If you need more details, feel free to ask!
How about storing refresh token in a http cookie instead of sending it in a response?
Yes we can do that as well. 💯
@@SakuraDev ❤🔥