Hello The Dev Logger, congrats on your channel. Super useful content, high quality of articulation and presentation. I am sure you will grow big, keep going. Looking forward to watch more nextjs content coming from you. Greetings from Turkey.
Could you also explain how to use Supabase hosted on your own VPS? Because in this case, I couldn’t find partner authentications like Google in the Supabase dashboard.
@@TheDevLogger The only callout that I am realizing now is that the LoginLogoutButton isn't really signing out the user. You are using setting the user state as null. You need to call the signOut method from the supabase client library
nice. the refresh middleware seems like a lot of overhead to every request, not sure if there is a better way, maybe refreshing independent of request/response?
How is this youtuber has only 140 subs. Let pump it guys, subscribe to him. This video is succinct and has what we really need for supabase + next auth
Hello! Nice tutorial... does it still work? im new to all this and got few login issues. I actually had the serversided login implemented before, but i THINK that somethign changed with supabase..
No problem! If you’d like to generate types for the Supabase table so you are able to get autocomplete you might want to check out: supabase.com/docs/guides/api/rest/generating-types
Im new to Supabase. So I can just use Supabase as a remote database and Auth service, right? Im thinking of using FastAPI with Docker and using Supabase just for Auth and object storage. Is that a typical architecture?
To my understanding you can use as much or as little of the services supabase provides as you want. You may want to look into using Supabase Edge Functions if you are building APIs, I haven’t used FastAPI before but I would guess that maybe the equivalent? Additionally if you are going to run a docker container anyway, you might as well self-host supabase
Decent thank you, I ran into an issue where sometimes when logging in it would put the users password in the url! 😮 I will take a look at how you’ve done it compared to my setup and see if it addresses the problem.
@@TheDevLoggerthat will be helpful. I can test your flow then slowly add my code into it to identify the root cause. One variation on my end is I’m using email with not the providers. But I doubt it is that. I also used the middle chain pattern. (Can share this with you if you like) but it was broken before that refactor if I remember rightly. Will try to remember to update you. On holiday atm. Will circle back within a month.
40th subscriber 🎉 Could you create a git repo with the code? I've followed the steps but the login button keeps calling the logout function, so I guess I did something wrong.
@@TheDevLogger Thank you! I literally put the code for the logout in the login page, no wonder it was acting that way 😂 Do you have a twitter where we can follow you for updates and new videos?
@@AverageJohnny No problem! hahaha I make those silly mistakes all the time too. Instagram is probably where I'll be doing more frequent updates during the week. I haven't set that up yet but hopefully maybe within the next video or the video after there'll be a link in the description! I have soo many content ideas, it would be super cool to engage with you and everyone here to see what would be most helpful :)
@@TheDevLogger I would definetlly recommend posting on X as well, dev community there is huge. As for a video idea, I think a video on big Stripe alternative payment processors like LemonSqueezy would be very helpful. Most tutorials use Stripe, but since it isn't available everywhere, LemonSqueezy gained a lot of users and no content on youtube.
who is this guy. He explained everything I needed. Thanks man!
This is best tutorial for Supabase Auth 've ever seen on TH-cam so far !
Hello The Dev Logger, congrats on your channel. Super useful content, high quality of articulation and presentation. I am sure you will grow big, keep going. Looking forward to watch more nextjs content coming from you. Greetings from Turkey.
Thank you so much for your kind words! Really appreciate the support ❤️
You woke up and chose raw efficiency, good job
Great video, straight to the point. Even included code in the description, A+.
Thanks! but how do we update the name of the app displayed on google login screen to our app name instead of subdomain from supabase?
cool! but how do we protect the routes for not logged in users, do we intercept it in the middleware?
using middleware
How did we get an email without setting up SMTP details?
Gives error with nextjs 15 as supabase.auth is undefined at server
did you find a fix for this?
Could you also explain how to use Supabase hosted on your own VPS? Because in this case, I couldn’t find partner authentications like Google in the Supabase dashboard.
bro, im getting user null when i log in with google.
Awesome video, thanks, applied your examples to my next.js project
Your welcome! Glad it was helpful to you :)
@@TheDevLogger The only callout that I am realizing now is that the LoginLogoutButton isn't really signing out the user. You are using setting the user state as null.
You need to call the signOut method from the supabase client library
Thanks for pointing that out! I guess I missed adding that part to the video
nice. the refresh middleware seems like a lot of overhead to every request, not sure if there is a better way, maybe refreshing independent of request/response?
Great tutorial, quick to understand. Thank you!
Glad it helped!
how can we set different roles for the users while logging in using google
How is this youtuber has only 140 subs. Let pump it guys, subscribe to him. This video is succinct and has what we really need for supabase + next auth
Great tutorial man really clean
Thank you!!
Dude, you are AMAZING!!
Hello!
Nice tutorial... does it still work? im new to all this and got few login issues.
I actually had the serversided login implemented before, but i THINK that somethign changed with supabase..
thank you i loved it so much, but how can i get the types for user because it does not autocomplete in vs code withouts types
No problem! If you’d like to generate types for the Supabase table so you are able to get autocomplete you might want to check out: supabase.com/docs/guides/api/rest/generating-types
is this with nextjs 14.2?
Brilliant work. Thank you Sir!
Im new to Supabase. So I can just use Supabase as a remote database and Auth service, right? Im thinking of using FastAPI with Docker and using Supabase just for Auth and object storage. Is that a typical architecture?
To my understanding you can use as much or as little of the services supabase provides as you want. You may want to look into using Supabase Edge Functions if you are building APIs, I haven’t used FastAPI before but I would guess that maybe the equivalent? Additionally if you are going to run a docker container anyway, you might as well self-host supabase
Supper helpful!
You are the best Sir.🥳🥳🥳
Thank you very much
Great tutorial, do you know the cost of this CPG service? is it free?
Decent thank you, I ran into an issue where sometimes when logging in it would put the users password in the url! 😮 I will take a look at how you’ve done it compared to my setup and see if it addresses the problem.
Ohh… that doesn’t sound right haha 😂 Let me know if you’d like me to create a GitHub repo with the example project and add it to the description
@@TheDevLoggerthat will be helpful. I can test your flow then slowly add my code into it to identify the root cause. One variation on my end is I’m using email with not the providers. But I doubt it is that. I also used the middle chain pattern. (Can share this with you if you like) but it was broken before that refactor if I remember rightly. Will try to remember to update you. On holiday atm. Will circle back within a month.
@@StephenRayner It's in the description! Just let me know if you find any issues with it
nice
thank you, really helpfull and rally good explanation..
Your very welcome :)
40th subscriber 🎉 Could you create a git repo with the code? I've followed the steps but the login button keeps calling the logout function, so I guess I did something wrong.
haha thank you for the support! I've added the repo to the description. Let me know if it still doesn't work for you.
@@TheDevLogger Thank you! I literally put the code for the logout in the login page, no wonder it was acting that way 😂 Do you have a twitter where we can follow you for updates and new videos?
@@AverageJohnny No problem! hahaha I make those silly mistakes all the time too. Instagram is probably where I'll be doing more frequent updates during the week. I haven't set that up yet but hopefully maybe within the next video or the video after there'll be a link in the description! I have soo many content ideas, it would be super cool to engage with you and everyone here to see what would be most helpful :)
@@TheDevLogger I would definetlly recommend posting on X as well, dev community there is huge. As for a video idea, I think a video on big Stripe alternative payment processors like LemonSqueezy would be very helpful. Most tutorials use Stripe, but since it isn't available everywhere, LemonSqueezy gained a lot of users and no content on youtube.
Your tutorial is great but no zooming in to see what’s going on to the small text
Hope u add zoom to scale those small text components etc thanks!!!
Thank you for the compliment! Haha yeah I realized that after I’ve edited the video 🤣
This is a good video! :)
That thumbnail... 😂😂😂😂
this is soooo complicated, unbelievable.. why??? fml
🫠🔥🔥