I already did several courses for NestJS already and developed some projects with it. Today I accidentally clicked into your video and found out your video is one of the most clear and easy-to-understand courses I have ever seen. Thanks
Super helpful! Together with your public Github repo, this series of videos constitute a perfect guide of nestjs and any front-end fw (in my case Angular)
Thank you so much for this video. I have finally implemented signin in with google properly. I noticed you have a hardcoded frontend redirect url in your google/callback route. Can someone share how would i pass this frontend redirect url in the sign in with google api call so that it can be dynamic? Thanks
i encountered Error: Login sessions require session support. Did you forget to use `express-session` middleware?, why on your video not error the same as me? do I miss something?
Started learning NestJs, React and Next. (I am comming from the Laravel world). My experience so far: You have to write a lot of code just to do a simple thing. I mean, what's the point of packages if you still have to do a lot of setup to use them? Also I din not find an ORM to do things as simple as Eloquent in Laravel. Time will prove me wrong I know, I hope.
The token doesn't contain the personal information, it only authenticates the logged in user and says they are allowed to perform actions on your API. One of those actions for example is getting the user info from the database so you can use it in the frontend.
We use jwt based auth in this video which is a stateless auth approach and we don't need express-session. the other option is session-based auth in which we need to setup express-sessions. I will record a video for session based auth.
I have watched all your series from start but there is one problem, Your User/Login and Auth/login are both login endpoints, but are still serving 2 different purposes, i guess you need to combine all the 'auth/' logic into your 'user/ ' endpoints to make it even .
I got an error like this TypeError: res.setHeader is not a function at strategy.redirect (/Users/griboriy/Documents/work/nest-app/node_modules/passport/lib/middleware/authenticate.js:340:13) the only difference I am using fastify instead of express
Hey Developers 🖐🏻 Your Likes ❤ and comments 💬 means world to me. So please Like❤ and Share⭐ this video to support me.🙏🙏🔥🔥
I already did several courses for NestJS already and developed some projects with it. Today I accidentally clicked into your video and found out your video is one of the most clear and easy-to-understand courses I have ever seen. Thanks
Thanks for your support 🙏❤️
Great video, Sakura. You explain everything clearly and effectively. Keep up the good work!
Thank you! Will do!
First amazing video of this branch on RUclips… 🔥 thank you so very much 💯
Thank you so much! Your support means a lot! 💯🔥
Super helpful! Together with your public Github repo, this series of videos constitute a perfect guide of nestjs and any front-end fw (in my case Angular)
Thanks for your support. I'm glad you're finding the series helpful! 😊🙏
I have almost finished your course, thank you for your effort
Amazing video, God bless you
Thank you so much! I'm glad you enjoyed the video. God bless you too! 😊✨
@@SakuraDevplease sir if you can make a fullstack with nestjs and nextjs
That will be great sir
@@apdiwhapmohmet4458 yes I going to do that
Thank you for great video today!
You're welcome! I'm glad you enjoyed it! 😊🎥
Thank you 🚀🚀
Thanks a ton, Furkan! 🙏🙏❤️
this tutorial is amazing, I understand even better and if you don't mind, Could you please add part 2 with NextJS and cookies or session cookies.
Thank you! I’ll definitely consider adding a part 2 focusing on Next.js and handling cookies or session cookies. Stay tuned for more content! 😊🔥
@@SakuraDev so excited !! , thank you
Amazing ❤️
Thank you! ❤️
can you make a tutorial on how to link this auth api with a Nextjs front end !
Absolutely! I'll work on a tutorial that covers linking the auth API with a Next.js frontend. Stay tuned for that! 😊
good job brother sakura
Thanks for your support 🙏🙏
Thank you so much for this video. I have finally implemented signin in with google properly.
I noticed you have a hardcoded frontend redirect url in your google/callback route. Can someone share how would i pass this frontend redirect url in the sign in with google api call so that it can be dynamic?
Thanks
You can get the url in nextjs and then pass it with a search query to back end api
Great Sakura
Thanks a lot, Prashant! 🌸😊
i encountered Error: Login sessions require session support. Did you forget to use `express-session` middleware?, why on your video not error the same as me? do I miss something?
I'm a little bit confused where did you get login function in auth service )))
Where is the previus video of this course?
Hi, this is the playlist:
ruclips.net/p/PLhnVDNT5zYN_PfPXedWpMy_UTeYNExbfR
nice video,
Is it possible to work with cookies instead?
To save that accesstoken, and use Cookies() in the frontend (next js) for example?
Thank you! Yes, it is possible. In the next video I will do that
@@SakuraDev when do we expect that next video ! thanks for the content btw very helpful !
Started learning NestJs, React and Next. (I am comming from the Laravel world).
My experience so far: You have to write a lot of code just to do a simple thing. I mean, what's the point of packages if you still have to do a lot of setup to use them? Also I din not find an ORM to do things as simple as Eloquent in Laravel. Time will prove me wrong I know, I hope.
Hi, 👋 welcome to my channel. Yeah you're right about the configuration of passport packages. And for ORM, the Prisma might be a good choice for you.
Awesome video. Could you do an example with NextAuth.js ??
Absolutely! I'll work on a tutorial that covers linking the auth API with a Next.js frontend. Stay tuned for that! 😊
What is next? When user receive token via redirect link from google/login request? How can we get user name email and etc?
The token doesn't contain the personal information, it only authenticates the logged in user and says they are allowed to perform actions on your API. One of those actions for example is getting the user info from the database so you can use it in the frontend.
It’s a good segue for supabase auth integrated with nest and next no? :)
Definitely! Integrating Supabase Auth with NestJS and Next.js is a great idea. I'll make sure to include that in the upcoming tutorials. Stay tuned! 😊
Brilliant effort.
Can you micro-service with Nestjs, Pls
Thanks 🙏. Yes I am planning for micro services course
how to manage for multi-tenant application
Well you need to keep track of all issued JWTs. I think I should create a video about it
Login sessions require session support. Did you forget to use `express-session` middleware?
I've got this problem, does anyone know how to fix it?
We use jwt based auth in this video which is a stateless auth approach and we don't need express-session. the other option is session-based auth in which we need to setup express-sessions. I will record a video for session based auth.
What is your theme vs code?
It's bearded theme
i love your tutorials, could you make a video how to add facebook login on nestjs
Thanks. Great suggestion!
I have watched all your series from start but there is one problem, Your User/Login and Auth/login are both login endpoints, but are still serving 2 different purposes, i guess you need to combine all the 'auth/' logic into your 'user/ ' endpoints to make it even .
Thanks for the feedback, I will consider this in the future.
@SakuraDev Hey Bro! Could you make a video about migration with TypeORM?
Hey! Sure thing, I’ll add a video on TypeORM migrations to the list. Stay tuned! 😊🔧
I got an error like this TypeError: res.setHeader is not a function
at strategy.redirect (/Users/griboriy/Documents/work/nest-app/node_modules/passport/lib/middleware/authenticate.js:340:13)
the only difference I am using fastify instead of express