Getting started with account linking and anonymous authentication

  Рет қаралды 12,688

Firebase

Firebase

Күн бұрын

A lot of apps throw their potential users off at the most critical part of the user journey: the onboarding process.
In this video, Firebase Developer Advocate ‪@PeterFriese‬ will show you how to implement a smooth onboarding process for your app using Anonymous Authentication and Account Linking.
What's so cool about this? Users can try out your app without having to sign in, but they still have a unique ID that you can use to store their data. Once they are sure they like your app, you can ask them to sign in, and upgrade their guest account to a full account.
Chapters:
0:00 Asking users to sign in first 😱
0:44 How to build a streamlined onboarding process
0:59 Reasons for signing in
2:17 The sample app
2:47 DEMO: No need to sign in!
3:30 How does this work?
5:51 Implementing Anonymous Authentication
7:56 Upgrading accounts using Account Linking
9:59 DEMO: Anonymous Auth & Account Linking in action
12:31 Other scenarios
Resources:
Getting started with Firebase Auth for Apple platforms → goo.gle/3DDIlbk
Anonymous Authentication for Apple documentation → goo.gle/2wLa36H
Firebase Console → goo.gle/3vPYq9K
Getting started with Firebase on Apple platforms → goo.gle/3szkx2j
App Store Review Guidelines → goo.gle/3SLjxmm
Source code → goo.gle/3Gnabtn
Catch more Firebase Fundamentals → goo.gle/Firebase-Fundamentals
Subscribe to Firebase → goo.gle/Firebase
#FirebaseFundamentals

Пікірлер: 19
@Firebase
@Firebase Жыл бұрын
Subscribe for the latest → goo.gle/Firebase
Жыл бұрын
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?
@user-yy4ly1fn6h
@user-yy4ly1fn6h Жыл бұрын
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?
@K9MobilityHeroes
@K9MobilityHeroes Жыл бұрын
Thank you
@tony_testarossa
@tony_testarossa 9 ай бұрын
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)
@fahrymohammed8863
@fahrymohammed8863 Жыл бұрын
But Firebase authentication does not support EU location and only stores and processes the data in the US that clear violation of GDPR.
@elijahloola3505
@elijahloola3505 11 ай бұрын
Thanks for the session. If possible make us a similar video but with Flutter. Thanks
@user-li4px4si6o
@user-li4px4si6o Жыл бұрын
저는기회가없습니까
@elssiany_
@elssiany_ Жыл бұрын
🤩🤩🥳
@IsUserADuck
@IsUserADuck Жыл бұрын
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 11 ай бұрын
Mine is showing error: Firebase: This operation is restricted to administrators only. (auth/admin-restricted-operation)
@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!
@user-ws4xy5gr5v
@user-ws4xy5gr5v Жыл бұрын
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.
Add Firebase to your Flutter app: The fast way
3:21
Firebase
Рет қаралды 118 М.
ГДЕ ЖЕ ЭЛИ???🐾🐾🐾
00:35
Chapitosiki
Рет қаралды 13 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 1,4 МЛН
Authentication and onboarding
18:23
Firebase
Рет қаралды 8 М.
I tried 5 Firebase alternatives
10:31
Fireship
Рет қаралды 754 М.
How Firebase projects and apps work
13:57
Firebase
Рет қаралды 29 М.
Anonymous Authentication with Firebase in Android!
12:05
Charfaoui Younes
Рет қаралды 3,4 М.
Getting started with Firebase on Apple platforms
14:33
Firebase
Рет қаралды 51 М.
What is Firebase and how to use it
41:01
Firebase
Рет қаралды 251 М.
Flutter Firebase Auth - The Cleanest & Fastest Way - IOS & Android
9:58
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 555 М.
МОЩНЕЕ ТВОЕГО ПК - iPad Pro M4 (feat. Brickspacer)
28:01
ЗЕ МАККЕРС
Рет қаралды 79 М.
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 369 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 38 МЛН