Commit Graph
43 Commits
Author SHA1 Message Date
Nick Cooke ca522d2d2a [Infra] Rename references from master to main (#12203) 2023-12-15 15:29:22 -05:00
renkelvin 7605a1842c Email enumeration protection related error and doc updates (#12081) 2023-11-17 14:50:35 -08:00
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
renkelvin 009b87b7b4 Fix a bug where getProjectConfig uses http post (#11698) 2023-08-18 11:22:06 -07: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
renkelvin 032abb438c Recaptcha integration master pr (#11231) 2023-07-25 14:32:48 -07:00
dc754ba49b Firebase Auth TOTP support (#11261)
Added Time-based One Time Password MFA support.

Co-authored-by: pragatimodi <110490169+pragatimodi@users.noreply.github.com>
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
2023-06-29 10:42:07 -07:00
renkelvin 26c5a715f2 Update FIRRevokeTokenRequest.h (#11419) 2023-06-12 10:23:31 -07:00
renkelvin f87cfad1ea Implement token revocation public api (#11001) 2023-04-04 10:57:02 -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
Yvonne ChengandRosalyn Tan d21ac642c8 Add Sign in with Apple Display Name API and unit test (#10068)
* Add api addtion for SIWA and add Function for Unit test

* Adding Unit test for apple signIn flow in FIROAuthProviderTests and FIRAuthTest

* remove AuthSample.xcodeproj fiels and application.plist file under Sample

* Revert "remove AuthSample.xcodeproj fiels and application.plist file under Sample"

This reverts commit 8578f964b9.

* remove changes in AuthSample 1/5

* remove changes in AuthSample 2/5

* remove changes in AuthSample 3/5

* remove changes in AuthSample 4/5

* remove changes in AuthSample 5/5

* overwrite with master firles to remove white space changes in the two files

* Delete Application.plist file

* Clean extra methods in FIROAuthCredentialInternal and related files to add displayname

* Add displayName in FIRVerifyAssertionRequest

* Fix issues in comments, merge GoogleAuthprovider, fix files in tests

* fix issues

* Clang-format all files

* Adding comment for testSignInWithCredentialSuccess

* Adding comments for testSignInWithCredentialSuccess

* Updates to reflect approved API.

* Address review comments.

* Update unit tests.

* Update changelog.

* Remove JSON pretty-print and add one more unit test.

---------

Co-authored-by: Rosalyn Tan <rosalyntan@google.com>
2023-03-09 11:27:55 -08:00
chuanr 0216c1a2bf Multi-app fix (#10805) 2023-02-10 14:01:39 -08:00
Paul Beusterien 74d80aa651 Fix breif typo (#10761) 2023-02-01 13:26:22 -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
Juan Alvarez 0b3bf6124f added handling of error returned from a blocking cloud function (#10628) 2023-01-05 11:30:28 -08:00
chuanr 26075af26e Fix a bug where phone multi factor id is not correctly retrieved (#10061) 2022-08-02 09:22:39 -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
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 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Rosalyn Tan 0fb31ac579 Add user agent and heartbeat headers. (#9066)
* Add user agend and heartbeat headers.

* Update changelog.

* Update changelog.
2022-03-15 11:41:35 -07:00
Rosalyn Tan 67038afb46 Remove unused STS auth code flow. (#9094)
* Remove unused STS auth code flow.

* Fix unit tests.
2021-12-13 17:45:55 -08: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
Akira MATSUDA 706f93967e Support multi-factor authentication with email link sign in (#8705)
* Support multi-factor authentication for email link sign in.

* Ran scripts/style.sh

* Add documentation
2021-09-29 13:18:32 -04:00
Rosalyn Tan ab74442509 Improve error logging for FIRAuthInternalErrorCodeUnexpectedErrorResponse errors (#8704)
* Add underlyingError to FIRAuthInternalErrorCodeUnexpectedErrorResponse errors.

* Revert some formatting changes that make it hard to see the actual diffs.

* Fix unit tests.

* Apparently the formatting is required.

* Update changelog.

* Re-ran the formatting script after updating clang-format.
2021-09-28 16:08:55 -04:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Rosalyn Tan 601497bbbd Allow http schemes when using the auth emulator (#7350)
* Allow http schemes when using the auth emulator.

* Update changelog and fix formatting.

* Update changelog.
2021-01-22 10:53:44 -05:00
Chuan Ren f9e5be183a Enable multi tenancy for email link sign in (#7246) 2021-01-05 12:37:16 -08:00
Rosalyn Tan 289e093f89 Replace "whitelist" with "allowlist" in the Auth source code. (#7120) 2020-12-07 15:48:06 -05:00
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -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
Paul Beusterien 4356c91e06 FirebaseAuth public headers for SPM (#6135) 2020-07-27 15:21:19 -07:00
Paul Beusterien d33b8b3ae1 SPM - Auth unit tests (#6011) 2020-07-09 13:31:53 -07:00
Paul Beusterien fb9e788086 Auth: Repo-relative headers and SPM (#5856) 2020-06-19 10:38:31 -07:00
Chuan Ren b1a1a0104b Remove unused mfa request field "mfa_provider" (#5397) 2020-04-16 14:06:06 -07:00
Paul Beusterien 42655733d5 Auth repo-relative headers (#5332) 2020-04-10 11:54:51 -07:00
Paul Beusterien df75e500b0 Migrate Auth to canonical directory structure (#5318) 2020-04-08 17:52:56 -07:00