Commit Graph
449 Commits
Author SHA1 Message Date
Paul Beusterien e14f3c5aab fix(auth): fix the operation and email sign-in crash in checkActionCode (#16964) 2026-10-27 12:47:56 -07:00
Paul Beusterien 4bc5060ad0 fix(auth): release removed state and ID token listeners (#16962) 2026-10-27 08:43:00 -07:00
Wu ShuwenandAndrew Heard 0a08a795f8 Fix Auth token refresh slot cleanup race (#16765)
Co-authored-by: Andrew Heard <andrewheard@google.com>
2026-10-27 07:33:06 -07:00
Paul Beusterien ab7f1f14d4 fix(auth): wait for the stored user before the first listener call (#16856) 2026-10-14 12:24:07 -07:00
Paul Beusterien d809b9d1c3 fix(auth): don't crash on malformed multi-factor responses (#16904) 2026-10-14 11:45:45 -07:00
Paul Beusterien 7d915462a4 fix(auth): harden parsing of server-provided reCAPTCHA config (#16757) 2026-10-14 11:20:59 -07:00
Paul Beusterien 656a625974 fix(auth): synchronize AuthAPNSTokenManager state across concurrent callers (#16902) 2026-10-14 11:03:56 -07:00
Paul Beusterienandgemini-code-assist[bot] aa10b07f9f fix(auth): check the session before signing out on a rejected ID token (#16857)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-10-14 10:45:22 -07:00
Paul Beusterien 212a2b6524 fix(auth): improve URL domain validation and keychain logging (#16892) 2026-10-12 21:02:46 -07:00
Paul Beusterien d94a5119ab feat(auth): strengthen OAuth and reCAPTCHA session identifiers (#16891) 2026-10-12 19:51:57 -07:00
Paul Beusterien cf0012bdaa fix(auth): bound token lifetimes from the backend (#16866) 2026-10-12 18:17:04 -07:00
ismail ramzi 807fff6f6b skip getAccountInfo provider entries without a providerID (#16745) 2026-10-01 13:52:22 -04:00
Hokila JanandNick Cooke 7aa8dfb417 Fix Auth APNs token timeout for concurrent waiters (#16665)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-09-24 10:48:08 -04:00
Chris LeonardandNick Cooke 576d723d55 [Auth] Remove deprecated pre-iOS 13.5 GameCenter workaround and fix force-unwrap (#16136)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-09-16 20:11:47 -04:00
Jeffrey WallandNick Cooke 344a3616b7 fix(auth): restore app extension build broken by UIApplication.shared (#16584)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-09-02 17:23:31 -04:00
Paul Beusterien 58bd319bae Fix AppCheck concurrency infinite recursion bug in Auth (#16552) 2026-09-01 09:02:03 -07:00
Daymon 6e43483efa fix(ml): missing import causing build error (#16563) 2026-08-27 14:07:21 -05:00
Paul Beusterien 27467527cf Fix FirebaseAuth random logouts on iOS 15+ during prewarming (#16505) 2026-08-17 15:23:01 -07:00
1b40550b9a fix(auth): add passwordDoesNotMeetRequirements error code handling (#16462)
Co-authored-by: gorthitk <tgorthi@google.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-07-29 14:10:46 -05:00
Paul Beusterien 08cd24d755 test(auth): enable SPM unit tests for PhoneAuthProvider and AuthNotificationManager (#16449) 2026-07-28 20:01:54 -07:00
Paul Beusterien 9f487313a5 fix(auth): resolve MFA issue in test mode and refactor logic (#16448) 2026-07-28 18:26:38 -07:00
Paul BeusterienandNick Cooke 5f4c7c8022 Fix infinite recursion in Swift concurrency verifyPhoneNumber (#16416) (#16453)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-07-28 18:19:57 -07:00
Nick Cooke 3ff973b250 refactor(auth): remove obsolete OS availability checks (#16356) 2026-07-20 16:17:04 -04:00
Paul Beusterien f3c8a05bd6 [Auth] Fix OAuth string escaping logic (#16394) 2026-07-14 07:56:37 -07:00
ismail ramzi 8b3fe0f7dc bound array access in ActionCodeURL query parser (#16382) 2026-07-13 14:48:54 -04:00
Daymon 5fab704d7d fix(core): update error messages mentioning init usage (#16294) 2026-06-17 14:26:09 -05:00
Daymon 7ff70b64e3 fix(auth): migrate away from deprecated api (#16274) 2026-06-16 19:09:21 +00:00
Nick Cookeandgemini-code-assist[bot] dc18b7f5b9 refactor(global): cleanup redundant availability checks and update sample apps audit (#16143)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-30 18:48:30 -04:00
Nick Cookeandgemini-code-assist[bot] db5828ba1c fix(auth, functions): Xcode 26.4 'async let' cleanup crashes (#15991)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-31 20:57:42 -04:00
Peter Friese 14c65efdcc feat: add AsyncSequence support to Auth for auth state and ID token changes (#15362)
This PR adds native Swift `AsyncSequence` support for monitoring authentication state and ID token changes in Firebase Auth. It provides a modern `for await` syntax alternative to traditional callback listeners.

*   **`authStateChanges`:** Added a new property on `Auth` returning `AuthStateChangesSequence` to monitor user sign-in/sign-out state.
*   **`idTokenChanges`:** Added a new property on `Auth` returning `IDTokenChangesSequence` to monitor underlying token changes for the current user.
2026-03-31 18:54:47 +02:00
Paul Beusterien 25d946b23d [Auth] Fix a race condition (#15951) 2026-03-20 14:26:56 -07:00
Paul Beusterien 0af47d76f4 [Auth] Should not force App Check token refreshes (#15716) 2026-01-14 08:56:27 -08:00
Paul Beusterien b0ac315952 [Auth] Fix Xcode 26.2 build warning (#15564) 2025-12-01 06:37:56 -08:00
Peter Schaeffer 8dd8e89681 Add a mechanism to prevent concurrent token refreshes (#15493) 2025-11-24 14:17:02 -05:00
Edge-Sevenandkhanhkhanhlele 61aae4c592 docs: fix typos in some files (#15510)
Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
2025-11-17 20:49:55 -08:00
Tatsuyuki Kobayashi bcd68df70c Fix typo in SecureTokenService comment (#15448) 2025-10-28 06:52:29 -07:00
Ben HagenandNick Cooke b7db7b4492 [Auth] TOTP support for macOS (#15112)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2025-08-12 11:39:28 -04:00
Ben Hagen 1166090a7c [Auth] Fix TOTP URL generation (#15128) 2025-07-23 15:38:47 -04:00
Nick Cooke e3110da07b [Infra] Rename 'FIRAllocatedUnfairLock' to 'UnfairLock' (#15090) 2025-07-08 16:09:40 -04:00
Nick Cooke 8bf009c4ad [Auth] Reduce callback nesting (#15079) 2025-07-04 14:00:27 -04:00
Nick CookeandMorgan Chen d2297c00a6 [Auth] Synchronize 'TOTPSecret.openInOTPApp(withQRCodeURL:)' to main actor (#15067)
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2025-07-02 18:04:02 -04:00
Nick Cooke a9503fd641 [Auth] Remove AuthErrorCodes '.dynamicLinkNotActivated' & '.invalidDynamicLinkDomain' (#15042) 2025-06-25 10:47:45 -04:00
Nick Cooke e6ae16cc6c [Auth] Remove deprecated string-based provider ID APIs (#15037) 2025-06-24 17:45:43 -04:00
Nick Cooke 2ba811a3ed [Auth] Remove 'ActionCodeSettings.dynamicLinkDomain' (#15036) 2025-06-24 15:17:58 -04:00
Nick Cooke 61fa60fec4 [Auth] Address Xcode 26 warnings in Auth (#14996) 2025-06-17 18:11:03 -04:00
Nick Cooke e304525f31 [Auth] NFC - AuthRecaptchaVerifier.swift (#14938) 2025-06-05 17:21:45 -04:00
Andrew Heard e58e322f2c [Auth] Re-add import Foundation in SecureTokenService.swift (#14920) 2025-05-30 15:42:53 -04:00
Nick CookeandMorgan Chen eac155fdf7 [Auth] More Swift 6 progress (#14867)
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2025-05-20 10:07:47 -04:00
Nick Cooke 4e1ff95587 [Auth] Conform 'AuthKeychainServices' to 'Sendable' (#14862) 2025-05-19 12:51:13 -04:00
Nick CookeandMorgan Chen 71e0d67f22 [Auth] Add Swift 6 conformance to FirebaseAuth/Sources/Swift/SystemService/ directory (#14839)
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2025-05-14 17:53:28 -04:00