Supabase + Next.js ULTIMATE Auth Combo

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 52

  • @ALoFTx
    @ALoFTx 3 месяца назад +4

    who is this guy. He explained everything I needed. Thanks man!

  • @zacklau8349
    @zacklau8349 4 месяца назад +1

    This is best tutorial for Supabase Auth 've ever seen on RUclips so far !

  • @LordSagavalta
    @LordSagavalta Месяц назад

    You woke up and chose raw efficiency, good job

  • @Joe-Bourbon
    @Joe-Bourbon Месяц назад

    Great video, straight to the point. Even included code in the description, A+.

  • @fdkaix9091
    @fdkaix9091 6 месяцев назад +2

    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.

    • @TheDevLogger
      @TheDevLogger  6 месяцев назад

      Thank you so much for your kind words! Really appreciate the support ❤️

  • @sihangwu6617
    @sihangwu6617 3 месяца назад

    Dude, you are AMAZING!!

  • @nathaliesandukuelite6349
    @nathaliesandukuelite6349 2 месяца назад

    You are the best Sir.🥳🥳🥳
    Thank you very much

  • @chocoalmondsmilk
    @chocoalmondsmilk 4 месяца назад

    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

  • @thiagofelizola
    @thiagofelizola Месяц назад

    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.

  • @anuj7286
    @anuj7286 5 месяцев назад

    Great tutorial, quick to understand. Thank you!

  • @johncollins2067
    @johncollins2067 Месяц назад

    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?

  • @rnholykabye9455
    @rnholykabye9455 5 месяцев назад

    Brilliant work. Thank you Sir!

  • @diegogimbernat9253
    @diegogimbernat9253 5 месяцев назад

    Great tutorial man really clean

  • @JeffreyHo565
    @JeffreyHo565 6 месяцев назад

    Awesome video, thanks, applied your examples to my next.js project

    • @TheDevLogger
      @TheDevLogger  6 месяцев назад +1

      Your welcome! Glad it was helpful to you :)

    • @JeffreyHo565
      @JeffreyHo565 6 месяцев назад

      @@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

    • @TheDevLogger
      @TheDevLogger  6 месяцев назад

      Thanks for pointing that out! I guess I missed adding that part to the video

  • @Neqxy
    @Neqxy 4 месяца назад

    cool! but how do we protect the routes for not logged in users, do we intercept it in the middleware?

  • @fanghinoni
    @fanghinoni Месяц назад

    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..

  • @PriyankBolia
    @PriyankBolia 29 дней назад

    Gives error with nextjs 15 as supabase.auth is undefined at server

  • @akadaygame8634
    @akadaygame8634 5 месяцев назад

    thank you, really helpfull and rally good explanation..

  • @marlonflorencio4200
    @marlonflorencio4200 4 месяца назад

    Great tutorial, do you know the cost of this CPG service? is it free?

  • @codewithguillaume
    @codewithguillaume 5 месяцев назад +1

    This is a good video! :)

  • @antonpenev5378
    @antonpenev5378 Месяц назад

    nice

  • @bounaderrafik
    @bounaderrafik 2 месяца назад

    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

    • @TheDevLogger
      @TheDevLogger  2 месяца назад

      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

  • @deepanshubajaj111
    @deepanshubajaj111 2 месяца назад

    how can we set different roles for the users while logging in using google

  • @chenjus
    @chenjus 5 месяцев назад

    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?

    • @TheDevLogger
      @TheDevLogger  5 месяцев назад

      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

  • @tukojs
    @tukojs 17 дней назад

    bro, im getting user null when i log in with google.

  • @codingjogo
    @codingjogo 5 месяцев назад

    Your tutorial is great but no zooming in to see what’s going on to the small text

    • @codingjogo
      @codingjogo 5 месяцев назад

      Hope u add zoom to scale those small text components etc thanks!!!

    • @TheDevLogger
      @TheDevLogger  5 месяцев назад +1

      Thank you for the compliment! Haha yeah I realized that after I’ve edited the video 🤣

  • @StephenRayner
    @StephenRayner 5 месяцев назад

    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.

    • @TheDevLogger
      @TheDevLogger  5 месяцев назад

      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

    • @StephenRayner
      @StephenRayner 5 месяцев назад

      @@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.

    • @TheDevLogger
      @TheDevLogger  5 месяцев назад

      @@StephenRayner It's in the description! Just let me know if you find any issues with it

  • @AverageJohnny
    @AverageJohnny 5 месяцев назад

    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
      @TheDevLogger  5 месяцев назад +1

      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.

    • @AverageJohnny
      @AverageJohnny 5 месяцев назад

      @@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?

    • @TheDevLogger
      @TheDevLogger  5 месяцев назад +1

      @@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 :)

    • @AverageJohnny
      @AverageJohnny 5 месяцев назад

      @@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.

  • @0GRANATE0
    @0GRANATE0 Месяц назад

    is this with nextjs 14.2?

  • @LutherDePapier
    @LutherDePapier 5 месяцев назад

    That thumbnail... 😂😂😂😂

  • @0GRANATE0
    @0GRANATE0 Месяц назад

    this is soooo complicated, unbelievable.. why??? fml

  • @im_jostincII
    @im_jostincII 26 дней назад

    🫠🔥🔥