Getting started with email/link auth on iOS
ฝัง
- เผยแพร่เมื่อ 3 ก.ค. 2024
- In this video, @PeterFriese will walk you through how to get started with Email/Link Authentication on iOS.
Learn how to let your users sign in to your app using just their email address - no password required at all.
Chapters:
0:00 What we're going to cover in this video
0:30 The sample app
1:51 How to implement Email/Link Authentication in 4 easy steps
3:19 Step 1 - Enable Email/Link Authentication
3:45 Step 2 - Send the email from you app
7:04 Step 3 - Configure Dynamic Links
10:27 Step 4 - Handle the magic link and sign in the user
14:51 Wrap up and next steps
Resources:
Getting started with Firebase on Apple platforms → goo.gle/3szkx2j
Getting started with Firebase Auth for Apple platforms → goo.gle/3DDIlbk
Firebase Authentication for Apple documentation → goo.gle/3WaLU07
Authenticate with Firebase Using Email Link on Apple Platforms → goo.gle/3Fx8Ccg
Firebase Console → goo.gle/3vPYq9K
Source code → goo.gle/3pCe0pn
Catch more Firebase Fundamentals → goo.gle/Firebase-Fundamentals
Subscribe to Firebase → goo.gle/Firebase
#FirebaseFundamentals - วิทยาศาสตร์และเทคโนโลยี
Watch all the Firebase sessions from I/O → goo.gle/IO23_firebase
Firebase removed Dynamic Links, so how to implement this only using universal links?
Were you able to figure out how to do this using universal things?
Yes, deep linking has been discontinued. We should handle it and use it instead
Happy to see you Peter💡🧠
But dynamic links deprecated, why not sure directly option with app/universal links?
Great video
Works great so far, thanks! How do we customize the email that is sent to the user to include our app logo etc?
We used this on our app but it's been only about 90% reliable. We're constantly helping users check their spam filters to find the emails. It's also unclear to users that you can't send an email from desktop and open it on mobile. No matter how much guidance you provide. Not magic yet
Hello Peter,
I am a beginner to Firebase and looking to become an expert. However, where do I start from because I am really confused.
Firebase dynamic link will be deprecated in 2025 :(... Does the firebase team will drop also this feature of magic link?
bu özellik dart dili için ne zaman gelir ?
Appstore id? but how to test the feature before first release?
Yes. Same question. How do I test this if I do not have a apple developer membership?
do you guys find a soulution ?
Thank you for the amazing video Peter! You Rock!!
I read in the FAQ that Firebase is planning to shut down dynamic links?
Thanks for your question! Firebase Authentication email link auth currently uses Firebase Dynamic Links to customize Authentication links.
For now, email sign-in will continue to work and we will have an update in place to continue email sign-in functionality by the time the Firebase Dynamic Links service is shut down.
Thanks for the tutorial. I managed to implement this kind of login in one of my app. Sadly the daily limit is TOO small... "Email link sign-in emails 5 emails/day" I cannot even test in my app, it's almost impossible tu develop something with such small limits, especially at the early stage :(
One question, in the sendSignInLink function, you save the email in the catch block. It that correct? I'd do that after the successful try await.
Good catch! Recording screencasts is hard 😅 It’s correct in the final state of the code: github.com/FirebaseExtended/firebase-video-samples/blob/0cfb3935ea24a309c326ea10f05d0ecd000e7498/fundamentals/apple/auth-email-link/final/Favourites/Shared/Auth/AuthenticationViewModel.swift#L124
@@PeterFriese ahahah I know by experience that's hard. Anyway the video was super useful. Thank you very much!
there are so many issues with this. for one there IS a password, the email password. and basically its no different then using the same password for multiple services(which is bad practice FYI), access to your email mean access to that app. and like @BryanKerr1 explains its not so simple for people who aren't familiar with technology(they exist)
0:12
0:12
🎉🎉