-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Labels
Description
Environment
- Objective C or Swift: Swift
- iOS version: 12.2
- Firebase SDK version: 6.4.0
- FirebaseUI version: 8.0.4
- CocoaPods Version: 1.7.3
Describe the problem:
Steps to reproduce:
- Setup anonymous & email link authentication
- Set
shouldAutoUpgradeAnonymousUserstotrue - Sign in anonymously
- Authenticate with email link
- Sign out
- Sign in anonymously again
- Authenticate with email link same as email of step4
- Email link authentication does not work
Observed Results:
- What happened? This could be a description, log output, etc.
- The error
FIRAuthErrorCodeEmailAlreadyInUseis occurred - However success alert is displayed because completion handler does not handle
FIRAuthErrorCodeEmailAlreadyInUseerror
Expected Results:
- Sign in with email link succeeds
Relevant Code:
- https://github.com/firebase/FirebaseUI-iOS/blob/master/EmailAuth/FirebaseEmailAuthUI/FUIEmailAuth.m#L381-L387
- https://github.com/firebase/FirebaseUI-iOS/blob/master/EmailAuth/FirebaseEmailAuthUI/FUIEmailAuth.m#L355-L374
Thanks