Awesome series bro! It's cool that you wanna add social authentication also. For me, the last missing piece to make it the best NestJS series out there is to make the authentication support also mobile auth (web - httpOnly cookies, mobile - Authorization header) and manage the flow on multiple devices (also with "Sign out from all devices") feature. Thank you!
Thank you! I'm glad you're enjoying the series. Adding support for mobile authentication and managing multi-device flows is a great idea. I'll look into it and make sure to cover these topics in upcoming videos. Stay tuned, and thanks for the suggestion! 🚀😊
Really Appreciate it Man. The way you show the underlying error first and solve it later helps understand the topic and logic behind it better. And your explanation to each predefined functions like why .gethandler() is used why getclass() is used makes it more clear and logical. Hats off to you mate. Hope you get what you deserve.
Thank you so much for the kind words! 🙏 I'm glad that approach helps you understand the concepts better. I'll keep aiming to make everything as clear and logical as possible. Your support means a lot ❤️🙏
Dear @Sakura Dev what about if we wanna to adding some custom roles to exist ones, for example. And what if we want to add permissions to this roles dynamically? What's the flow gonna be?
@@SakuraDev e.g if we have two admins in our system, and only one admin can edit the let's say a form in UI, and the second one cannot. If we would have a role Admin with permisson: CAN_EDIT_CONFIG_FORM: true so only the admin which has this permission can edit form.
Second example: Admin role can have a different permissions to different modules in our system, e.g. one admin can enter a Configuration View in frontend, but the second one cannot. How to distinguish which one can enter this view in front-end? My guess, is that only with permission which is related a role.
Well, in this case it's better to use policy based access control. We assign permissions to the user and then we check if a specific user has a certain permission to access an API
Awesome series bro! It's cool that you wanna add social authentication also.
For me, the last missing piece to make it the best NestJS series out there is to make the authentication support also mobile auth (web - httpOnly cookies, mobile - Authorization header) and manage the flow on multiple devices (also with "Sign out from all devices") feature. Thank you!
Thank you! I'm glad you're enjoying the series. Adding support for mobile authentication and managing multi-device flows is a great idea. I'll look into it and make sure to cover these topics in upcoming videos. Stay tuned, and thanks for the suggestion! 🚀😊
yeah it's actually a great idea.
@@SakuraDev would love to see that as well
Excellent explanation and awesome content 🔥💯thank you
Thank you so much! I'm glad you enjoyed it. Your support means a lot! 🔥💯😊
Really Appreciate it Man.
The way you show the underlying error first and solve it later helps understand the topic and logic behind it better. And your explanation to each predefined functions like why .gethandler() is used why getclass() is used makes it more clear and logical. Hats off to you mate. Hope you get what you deserve.
Thank you so much for the kind words! 🙏 I'm glad that approach helps you understand the concepts better. I'll keep aiming to make everything as clear and logical as possible. Your support means a lot ❤️🙏
@@SakuraDev You are such a great instructor.
@@amritniure465 Thank you so much 😊🙏
Amaizing course! I wait a next video! Thanks!
Thank you so much! I'm glad you're enjoying the course. More videos are on the way. Stay tuned! 😊
Great Course! Would love to see a tutorial deploying a Nest/Next App
Hi, thank you, I will do that
Great course. Thank you!
Thanks for your support 🙏🙏
Thank you for this great course. It was perfect
Thanks. I'm really glad you liked it
Thank you so much
Thanks 🙏🙏
Dear @Sakura Dev what about if we wanna to adding some custom roles to exist ones, for example. And what if we want to add permissions to this roles dynamically? What's the flow gonna be?
Thanks sir, when i using prismaORM is it same like this
Yes, definitely. You just need to get the user with prisma form db
@@SakuraDev Thank you waiting for another videos
@@AbdiwahabMohamed-n1n awesome
Bro Can't we add the role into the payload of the JWT?
Yes we can! but it is safer to get the role directly from db.
Thanks for vesting btw❤️
What about if Roles have nested permissions? How to handle it in NestJS?
Could you give me an example?
@@SakuraDev e.g if we have two admins in our system, and only one admin can edit the let's say a form in UI, and the second one cannot. If we would have a role Admin with permisson: CAN_EDIT_CONFIG_FORM: true so only the admin which has this permission can edit form.
Second example: Admin role can have a different permissions to different modules in our system, e.g. one admin can enter a Configuration View in frontend, but the second one cannot. How to distinguish which one can enter this view in front-end? My guess, is that only with permission which is related a role.
Well, in this case it's better to use policy based access control. We assign permissions to the user and then we check if a specific user has a certain permission to access an API
@@SakuraDev Would you please cover this in this course?