Commit Graph
436 Commits
Author SHA1 Message Date
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
Nick CookeandMorgan Chen e7eaa4e9ef [Auth] Add Swift 6 conformance to FirebaseAuth/Sources/Swift/ActionCode/ directory (#14833)
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2025-05-08 19:01:57 -04:00
Paul Beusterien 6efa753a5f Investigate swiftformat on Linux CI (#14808) 2025-05-02 14:31:48 -07:00
Nick Cooke d9fd34b697 [Infra] Remove Swift compiler(>=6) checks (#14771) 2025-04-24 13:59:27 -04:00
Paul BeusterienandNick Cooke 0b6091c6ca More CI updates for Xcode 16 minimum (#14655)
Co-authored-by: Nick Cooke <nickcooke@google.com>
2025-04-09 16:00:15 -07:00
rizafran b91f25566a Changed actionCodeOperation types (#14668) 2025-04-09 07:30:09 -07:00
rizafran 2d79f91027 Changed languageCode to lang in ActionCodeURL (#14666) 2025-04-09 06:48:41 -07:00
d3e26c0be1 Fix invalid user token error (#14672)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-04-08 09:55:56 -07:00
Nick Cooke d8f2ed8c0e [NFC] Unmutated vars (#14604) 2025-03-20 15:27:37 -07:00
Andrew Heard b888e1e35f [Auth] Compile-out recaptchaToken(...) for 1P (#14477) 2025-02-21 15:49:11 -05:00
Paul Beusterien 2b8829352f [Auth] Suppress deprecation build warning (#14420) 2025-02-03 14:45:54 -08:00
Nick Cooke cae7c382db [Auth] Add support for upcoming Recaptcha changes (#14201) 2025-02-03 11:40:26 -05:00
228e33c24d [Auth] Add ActionCodeSettings.linkDomain and deprecate ActionCodeSettings.dynamicLinkDomain (#14384)
Co-authored-by: Liubin Jiang <liubinj@google.com>
Co-authored-by: Srushti Vaidya <srushtisv@google.com>
Co-authored-by: Liubin Jiang <56564857+Xiaoshouzi-gh@users.noreply.github.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2025-01-28 12:55:45 -08:00
Nick Cooke e5a7384053 [Auth] Make two string properties atomic (#14308) 2025-01-07 12:55:51 -05:00