Improve UX with Anonymous Sign-Ins

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 34

  • @siyris
    @siyris 7 місяців тому +19

    Came for the video, stayed for the hair. 🤩💁‍♂️

    • @JonMeyers
      @JonMeyers 7 місяців тому +1

      Yeah, that wig looks sick! They should make a Supabase branded one!

  • @dawidwraga
    @dawidwraga 7 місяців тому +10

    Just to let you know, the link in the description takes you to a 404 page

    • @Supabase
      @Supabase  7 місяців тому +5

      fixed! supabase.com/blog/anonymous-sign-ins

    • @JonMeyers
      @JonMeyers 7 місяців тому +1

      Thanks! 🙌

  • @Supabase
    @Supabase  7 місяців тому

    Go deeper with Anonymous Users 👉 supabase.com/blog/anonymous-sign-ins

  • @misterzucker4131
    @misterzucker4131 7 місяців тому +2

    code? trying to figure out how to implement the frontend correctly so we dont keep making new anon users. cookie not getting set correctly for some reason

  • @ahmedhafiz2419
    @ahmedhafiz2419 7 місяців тому +4

    I'm actually confused about the difference between this anonymous user, and empty user session.

    • @JonMeyers
      @JonMeyers 7 місяців тому +8

      With anonymous users you can remember that user's session. In the video example, we can remember that this specific user selected those specific seats, and if they were to refresh the page or come back later, we can still have those seats selected. An empty user session means there is no way to distinguish between the users who have visited the page but not authenticated. Therefore, every time they visited the page or refreshed, we would need to show the blank, unselected state.
      Does that make a bit more sense?

    • @ahmedhafiz2419
      @ahmedhafiz2419 7 місяців тому

      ​​​@@JonMeyersI think I got it. At first, I thought it's just keeping a temporary record in browser session. But anon user is actually created as a new user in supabase database, just without linking email/phone/oauth.
      These new anon users can later link email/phones/oauth to create a signin-able user.
      Right?
      A bit new concept to me since I thought features shown in apps like the one in this video were mostly in the front end, later merging the data to backend when user signs in. Pretty cool coz we can make more complex functionalities using this feature.

  • @jonathankumar2052
    @jonathankumar2052 7 місяців тому

    Really cool to hear that supabase supports this. Would appreciate a bit of some slideshow work and if Jon would talk a bit slower 😅

  • @jonny555333
    @jonny555333 7 місяців тому +1

    In that example application, is it storing the state of selected seats in a database or is it using a cookie to store it?

  • @Supabase
    @Supabase  7 місяців тому

    Go deeper with Anonymous Users 👉 supabase.com/blog/anonymous-sign-ins

  • @pranjal8425
    @pranjal8425 7 місяців тому +1

    Love you Jon and Supabase, you're the best.

    • @JonMeyers
      @JonMeyers 7 місяців тому +1

      Thanks! 🙌 Glad you're enjoying the videos!

  • @dave3269
    @dave3269 4 місяці тому

    Requiring the email to be verified before allowing you to set a password feels like a huge roadblock, I’d like to be able to use a normal signup form to take both email and password when upgrading an anonymous user to a fully authenticated user in a single form. As of right now, it looks like you have to use email change ? And then from that link, go to a new page to type password? Please make a full example if you can

  • @olatrials
    @olatrials 7 місяців тому

    The user might have previously signed in with Google/other, and is currently signed in anonymously. When they decide to "upgrade" to Google/other-sign-in again, how should we reconcile data stored with references to the two different id's? I haven't been able to find documentation on what happens in cases like that. Are the identities merged? Which one is deleted? Does it fail? Is there a trigger/function one can create to deal with it?

  • @arc5378
    @arc5378 6 місяців тому

    Wondering if you could share the code used to create the anonymous user.

  • @InianParameshwaran
    @InianParameshwaran 7 місяців тому +3

    Thor sent me here to talk about Jon's hair

    • @JonMeyers
      @JonMeyers 7 місяців тому

      Yeah dude, that wig looks sick!

  • @electrolyteorb
    @electrolyteorb 7 місяців тому

    Hey supabase lord, can you deep dive in the realtime section of supabase? it's documentation is good, but can we go even deeper? like putting triggers on channels table of realtime schema? make a notification system maybe?

  • @eskelCz
    @eskelCz 7 місяців тому +2

    why not just use session storage or local storage?

    • @JonMeyers
      @JonMeyers 7 місяців тому +2

      You can wire up the session storage however you want, but the `@supabase/ssr` package will configure cookies for you.
      This example is written with Next.js, so you would not want to use Local Storage, as this is not available on the server. Therefore, the user's session would only be available to Client Components

    • @Supabase
      @Supabase  7 місяців тому +1

      This one might help explain the Local Storage vs Cookie argument with Next.js
      ua-cam.com/video/w3LD0Z73vgU/v-deo.html

  • @ryanngalea
    @ryanngalea 7 місяців тому +1

    If an anon auth user returns many times without authing, does that anon auth remain the same? so we could essentially grab info about that user like how many times they visited site before actually authing?

    • @JonMeyers
      @JonMeyers 7 місяців тому

      Yep, they remain the same Anonymous User every time they visit the page or refresh. This session is stored in a cookie, so will be the same user unless they are using a private browser or clear their cookies 🍪

    • @ryanngalea
      @ryanngalea 7 місяців тому

      Per device Id imagine.

  • @christophernolan8761
    @christophernolan8761 12 днів тому

    Good topic, lots of useful info, but nearly unwatchable given the constant back and forth cuts from the screenshot to the presenter and back

  • @codewithguillaume
    @codewithguillaume 7 місяців тому +1

    YEP!

    • @JonMeyers
      @JonMeyers 7 місяців тому

      Glad you enjoyed it Guillaume 🙌

  • @kjn5991
    @kjn5991 6 місяців тому

    "Demonstrate value to your users before jamming a login screen in their face!"
    So how come Supabase requires the actual creds before showing the dashboard? :D

  • @xberna8156
    @xberna8156 7 місяців тому +2

    W Supabase

    • @JonMeyers
      @JonMeyers 7 місяців тому

      Thanks! Glad you enjoyed it! 🙌

  • @tananga_studio
    @tananga_studio 7 місяців тому +6

    ❤❤❤