SwiftUI & Firebase OTP: Build Secure Login Systems

Опубликовано: 12 Февраль 2025
на канале: NDC
84
5

📱 Secure Login with Firebase OTP in SwiftUI! 🚀
🔐 Add phone number authentication with Firebase OTP in your SwiftUI app!
This tutorial covers everything you need to know, including Firebase setup, APNs configuration, and OTP verification handling!

Links: https://console.firebase.google.com/
https://github.com/firebase/firebase-...
https://developer.apple.com/

🧐 What You’ll Learn:
✅ Set up Firebase OTP authentication in Xcode
✅ Handle push notifications for OTP verification
✅ Fix common Firebase OTP errors
✅ Best practices for a smooth login experience

🔥 Download My Project Files & More!
👉 Get the source code for this project & other Swift resources here:
🔗 https://ndcswift.github.io/Swift-Proj...

Timestamps:
0:00 Intro & Example
1:37 Project & Firebase setup
3:37 adding Firebase to XCode
4:50 Firebase Phoe Auth
6:41 Google Plist
7:58 Setting up App Delegate for Push notifications and Firebase
13:03 Quick fixes
13:45 Setting up our Login screen
19:12 Send OTP function
21:14 Verify OTP function
23:22 Progress view, loading, and going to next screen
25:48 HomeScreenView
26:32 Adding Capabilities
27:50 Configuring APNs for OTP verification
30:10 First test
30:45 Fixing our errors / bugs
31:09 Updating Info.plist
33:51 Second Test
34:55 Success and whats next
36:36 How to use this in real world apps
37:09 Using the template from my GitHub pages