Getting started with account linking and anonymous authentication

Поділитися
Вставка
  • Опубліковано 26 січ 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?

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

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

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

  • @jean683-y8k
    @jean683-y8k Рік тому +1

    Thank you

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

  • @gtinstaller
    @gtinstaller Рік тому +1

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

  • @БорисЗиновьев-с3х

    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.

  • @권혁민-x8w
    @권혁민-x8w Рік тому +1

    저는기회가없습니까

  • @kevin.serrano.android
    @kevin.serrano.android Рік тому +2

    🤩🤩🥳