Getting started with account linking and anonymous authentication

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

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

  • @Firebase
    @Firebase  Год назад +5

    Subscribe for the latest → goo.gle/Firebase

  •  Год назад +4

    Great video! I wonder what happens to the anonymous account on the second device (and its data, if it would be created). Is that account also linked to the email? Is the data lost - as there is no merge action?

  • @tony_testarossa
    @tony_testarossa Год назад +1

    Great video thanks!
    Our use-case is a little different - what is the flow if we don't want to use anonymous sign in?
    How can we have a user sign in with one strategy, sign out, then sign in with another strategy and link those two accounts? At the time of the 2nd sign-in there's no "user" reference to use user.linkWithCredential(credential)

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

      I would try to do a query of some sort for the signed out account, sign in automatically then link but Idk how yall have everything setup

  • @fahrymohammed8863
    @fahrymohammed8863 Год назад +1

    But Firebase authentication does not support EU location and only stores and processes the data in the US that clear violation of GDPR.

  • @BenSwift-b4x
    @BenSwift-b4x Год назад +1

    Hey, thanks for this, great video! One question about a specific user journey, can a user be sent a deeplink via email containing reference to the user ID so when they follow the deeplink and sign up they will have prep populated information?

  • @jean683-y8k
    @jean683-y8k Год назад +1

    Thank you

  • @IsUserADuck
    @IsUserADuck Год назад +1

    Hello. I have tried using signInAnonymously in a simple Kotlin app that does just that, and it takes an incredibly long time to complete - around 20 seconds. Everything else after that works just fine and my interned is very fast. Is this normal?

    • @PeterFriese
      @PeterFriese Год назад

      Sign in anonymously should return almost instantly. If you can reliably reproduce this, please feel free to open an issue on the Android SDK repo.

    • @IsUserADuck
      @IsUserADuck Год назад

      @@PeterFriese thank you for your reply. Yes, I can reproduce it reliably, it happens all the time. I will package my sample code and open an issue. To clarify, function itself returns instantly, but the callback is called after 20-30 seconds, so it's taking a very long time to create an account.

    • @rusty-coder
      @rusty-coder Год назад

      Mine is showing error: Firebase: This operation is restricted to administrators only. (auth/admin-restricted-operation)

  • @БорисЗиновьев-с3х
    @БорисЗиновьев-с3х Год назад +1

    Hello, dear Peter! Can i receive a short userID(5-6 symbols) to Firebase users collection? Many thanks 4 your answer. Boris 😊

    • @PeterFriese
      @PeterFriese Год назад

      Hi Boris, can you describe what you’re trying to achieve? How you manage additional user data (e.g. any preferences, high score in a game, etc.) is up to your app / use case.

  • @greykrav1869
    @greykrav1869 Год назад

    So basically if i want to follow along with this video or utilize the repository i need a macOS/iphone? I want to implement this in react native for web/android. I don't have a Mac or an iphone

    • @PeterFriese
      @PeterFriese Год назад

      We'll post a video for Android / web soon.

    • @xBugzilla
      @xBugzilla Год назад

      @@PeterFriese will Flutter get some love too? I get it's redundant but it would be nice!

  • @kevin.serrano.android
    @kevin.serrano.android Год назад +2

    🤩🤩🥳

  • @gtinstaller
    @gtinstaller Год назад +1

    Thanks for the session. If possible make us a similar video but with Flutter. Thanks

  • @권혁민-x8w
    @권혁민-x8w Год назад +1

    저는기회가없습니까