Commit Graph
56 Commits
Author SHA1 Message Date
renkelvin 6673e7caff Use sign up endpoint for link with email password (resubmit #11925) (#12009) 2023-11-01 13:10:34 -07:00
renkelvin a15117c599 Revert "Use sign up endpoint for link with email password" (#11957) 2023-10-18 12:24:16 -07:00
renkelvin b7fd1697dd Use sign up endpoint for link with email password (#11925) 2023-10-13 16:56:34 -07:00
Andrew HeardandNick Cooke f3a14c249e Add FirebaseAppCheckInterop umbrella header (#11860)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2023-10-11 18:39:18 -04:00
Andrew Heard a69962d5fc Upgrade to clang-format v17 (#11824) 2023-09-19 09:59:37 -07:00
Paul Beusterien 3995b43b98 Update to TARGET_OS_VISION (#11692) 2023-08-17 16:12:30 -04:00
renkelvinandPaul Beusterien 0cddb58d2d Auth reCAPTCHA integration (#11681)
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2023-08-16 16:32:38 -07:00
Andrew Heard 24c9cba18b [Auth] Revert reCAPTCHA integration PRs (#11617)
Reverted reCAPTCHA <-> Auth integration PRs (#11231, #11606, #11609, #11610) due to an issue with the zip build.
2023-07-26 14:20:42 -04:00
Andrew Heard e7400722fa [visionOS] Replace TARGET_OS_XR with TARGET_OS_VISION (#11603)
In Xcode 15 beta 5, TARGET_OS_XR was replaced with TARGET_OS_VISION in ObjC and os(xrOS) was replaced with os(visionOS) in Swift.
2023-07-25 20:52:07 -04:00
renkelvin 032abb438c Recaptcha integration master pr (#11231) 2023-07-25 14:32:48 -07:00
Andrew Heard 56cbd2d4d8 [Auth] Fix Firebase Auth build on visionOS (#11488)
Fixed Firebase Auth SDK build issues for visionOS, along with corresponding unit test changes.
2023-06-29 15:43:06 -04:00
Paul Beusterien 458919f6ba Fix combined error and completion handling (#11225) 2023-05-04 11:16:40 -07:00
Nick Cooke 963cc2d6bd [Auth] Remove unreachable code (#11091)
* [Auth] Remove unreachable code

* Rename '-[FIRAuthStoredUserManager getStoredUserAccessGroupWithError:]'

* Favor 'NULL' over 'nil' for a **

* Rename '-[FIRAuthStoredUserManager setStoredUserAccessGroup:error:]'
2023-04-10 14:21:41 -04:00
renkelvin f87cfad1ea Implement token revocation public api (#11001) 2023-04-04 10:57:02 -07:00
Paul Beusterien a446367de9 Address Xcode 14.3 build warnings and a few typos (#11063) 2023-04-03 10:24:35 -07:00
Yvonne Cheng 43cd9c2883 Merge App check auth integration into master branch (#11056)
* Auth integration with AppCheck (#10798)

* Auth App check integration without unit testing

* Add Unitest for AppCheck Auth Integration

* Style the format for Auth-Appcheck Integration

* Fix typo in import for FIRAppCheckInterop

* Style this file

* Fix wrong import

* Fix style for this file

* Fix style in this file

* Add Source path for FIRAppCheckInterop

* Add self to async block in Unit Test

* Fix: pass appcheckInterop to request configuration

* style the fixed files

* revert files that are only for local testing

* modify init method to avoid more changes

* remove extra comments

* upload for debug unit test

* Revert Sample changes and add appcheck into unit tests

* Fix issues in FIRAuthRequestConfiguration and typos in unit tests

* fix error loading and revert pod files

* Add spaces to keep style consistent

* pass appCheckToken as URL fragment (#10877)

* pass appCheckToken as URL fragment

* pass appcheck token as url fragments to phone provider

* for test purpose only: commented async function

* test if it is google cloud error

* formatting the file

* formatting the file

* fix comments issues

* remove printing function

* remove unused property

* Adding Unit test for passing appchecktoekn as a url fragment

* add import for FIRAppCheckTokenResultInterop

* Add separate file for FIRFakeAppCheck and Modify accordingly

* add copyright comments for bewly created files

* Add declaration for completion in FIRFakeAppCheck

* add correct param decalaration

* clean FIRFakeAppCheck.h

* add method in FIRAppcheck.h to avoid complaints

* correct copyright info

* fix typo in FIRFakeAppCheck.m

* Recover declarations

* solve comments issues

* Add changes to unit tests for changes in FIRAuthRequestConfiguration

* Add changelog

* Edit changelog
2023-03-31 17:29:06 -07:00
chuanr 0216c1a2bf Multi-app fix (#10805) 2023-02-10 14:01:39 -08:00
Paul Beusterien 6d66e85d14 Fix verifying typo (#10792) 2023-02-07 14:19:32 -08:00
chuanr e423ebad5b Use team player ID, game player ID and fetchItems for signature verification (#10441)
* Initial changes

* Update response

* Update FIRSignInWithGameCenterRequest.m

* Update FIRGameCenterAuthProvider.m

* Update FIRGameCenterAuthProvider.m

* Update FIRSignInWithGameCenterTests.m
2023-01-31 13:42:32 -08:00
Paul Beusterien 391d9f255a Another typo (#10627) 2022-12-29 16:19:05 -08:00
Rosalyn Tan e8828e8efc Try to address prewarming issue by catching keychain errors instead of using isProtectedDataAvailable (#9898)
* Another attempt at fixing prewarming issues.

* Fix style.

* Check the correct error code.

* Add changelog and fix style.

* Prevent retain cycle?

* Prevent retain cycle?

* Address review comment.

* Move observer removal into block.

* Update version number in changelog.
2022-06-14 15:13:18 -07:00
Rosalyn Tan dc45185045 Fix keychain access issues caused by prewarming (#9622)
* Try listening to `UIApplicationProtectedDataDidBecomeAvailable`.

* Handle platform availability.

* More platform availability handling.

* Fix static analysis issue.

* Update changelog.
2022-04-19 16:03:01 -07:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Nick Cooke 325e13ac0b [Heartbeat Logging] Migrate Auth from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9556)
* Integrate Auth with FIRHeartbeatLogger

* Add unit tests

* Add env var to auth.yml

* Fix CI

* Fix CI (pt. 2)

* [skip ci] Remove outdated forward declaration

* [skip ci] Update convenience initializer's doc

* [skip ci] Update test method doc

* [skip ci] Improve comment clarity

* [skip ci] Review

* [skip ci] Fix typo
2022-04-06 13:33:15 -04:00
Paul Beusterien 99275370a2 Merge remote-tracking branch 'origin/master' into v9b 2022-04-06 09:56:33 -07:00
Morgan Chen 7a273e7bae fix returns typo (#9541) 2022-03-31 11:37:45 -07:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien a1cb5656fc Auth and Messaging Interop for Swift (#9314) 2022-03-23 06:08:13 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Nick Cooke b1c5428c72 [Auth] Added note to getStoredUser(forAccessGroup:) documentation about tvOS keychain sharing issues (#9244)
* Add note about tvOS keychain sharing issue

* Update Auth CHANGELOG

* Review

* Log error when running on tvOS and sharing auth state

* Update API docs

* Update changelog

* Style

* Improve message clarity

* Style

* Review 2

* Review 3
2022-01-24 17:58:59 -05:00
Rosalyn Tan c7f80c14c2 Add app ID header to Firebase Auth (#9046)
* Add user agent and heartbeat headers to Firebase Auth.

* Add app ID header.

* Fix unit tests.

* Remove user agent and heartbeat headers, as backend support is not yet ready.

* Fix typo.

* Update changelog.
2021-12-08 15:10:16 -08:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Nick Cooke 89f237ae78 Swift first exception messages (#8295)
* Swift first exception messages

* Review

* Minor edit

* Minor edit 2
2021-06-25 11:25:23 -04:00
Morgan Chen 6245948969 Fix #7670 (#7906)
* Fix auth settings crash on copy

* release notes

* fix compiler complaint
2021-04-15 16:10:37 -07:00
Joe Hinkle b807226e2c fix for _userAccessGroup being nil when getStoredUserForAccessGroup is called (#7472)
* shareLoginAcrossDevices

* shareLoginAcrossDevices

* shareLoginAcrossDevices

* shareLoginAcrossDevices

* formatting

* feedback changes

* linted

* setting _userAccessGroup needs to happen before getStoredUserForAccessGroup is called, because otherwise on first app launch, _userAccessGroup will be null, making it impossible for the app to find the shared keychain

* proper fix as suggested by rosalyntan
2021-03-01 17:08:04 -08:00
Joe Hinkle ae854d8357 Sync login state across all Apple user's devices (#6924)
* shareLoginAcrossDevices

* shareLoginAcrossDevices

* shareLoginAcrossDevices

* shareLoginAcrossDevices

* formatting

* feedback changes

* linted
2021-01-06 13:55:19 -05:00
Mike Gerasimenko c8de4fcc03 FCM: Fix crash on iOS 14 when multiple app delegate completion methods are called (#6863)
* Fix crash on iOS 14 when multiple completion methods are called

* Fixed lint

* Addressed the PR comments & implemented unit tests

* Reverted auto-extracted method

* Re-organized tests

* Added completion handler for FIRAuth
2020-11-05 17:31:53 -05:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Rosalyn Tan 312f733fc0 Add auth emulator support to public API. (#6624)
* Add auth emulator support to public API.

* Update changelog.
2020-10-01 10:45:52 -07:00
Paul Beusterien 6a2b9a9556 Merge remote-tracking branch 'origin/master' into pb-merge-firebase7 2020-09-30 16:49:31 -07:00
Rosalyn Tan 14764b8d60 Remove deprecated auth APIs (#6607)
* Remove deprecated APIs from public header.

* Remove deprecated API implementations.

* Also remove deprecated APIs from FIRUser.

* Update unit tests.

* Update sample app.

* Update changelog.
2020-09-30 15:51:09 -07:00
Paul Beusterien aea0e862f1 Migrate FIRLoggerServices strings from Core to clients (#6608) 2020-09-30 07:37:31 -07:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Rosalyn Tan 984098d794 Auth Emulator support (#6402)
* Add Auth emulator support for IdentityToolkit requests.

* Formatting.

* Store the emulator URL in FIRAuthRequestConfiguration.

* Add support for emulating the web widget and SecureTokenService.

* Explicitly cast NSInteger to long to fix warning.

* Add unit tests.

* Fix copyright notice text.

* Remove useEmulator from the public API and disable app verification features when using the emulator.

* Fix test.

* Revert changes to FIRPhoneAuthProvider -- these are unnecessary for emulator support.

* Fix test.

* Fix test.

* Address review comments.
2020-09-10 16:14:55 -07:00
Chuan Ren bf0cb09d51 Add multi tenant support (#6142) 2020-08-17 17:25:27 -07:00
Ryan WilsonandHarri Hohteri 5fb9d2a448 watchOS support for FirebaseAuth. (#6260)
* watchOS support for FirebaseAuth.

This is a redo of #5585, which was a re-implementation of #4632. This
ignores any changes to GoogleUtilities, those will be done in a later
PR to create a common KeyedArchiver utility.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>

* Fixed lint errors, added GHA tests.

* Enabled GHA for PRs as well.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>
2020-08-12 16:13:45 -04:00
Paul Beusterien 4356c91e06 FirebaseAuth public headers for SPM (#6135) 2020-07-27 15:21:19 -07:00
Paul Beusterien fb9e788086 Auth: Repo-relative headers and SPM (#5856) 2020-06-19 10:38:31 -07:00
Paul Beusterien 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 2020-06-16 09:05:29 -07:00