Commit Graph
195 Commits
Author SHA1 Message Date
Yue-Wang-Google 393d060710 Raise exception when log into Facebook using OAuth. (#3138)
Raise exception when log into Facebook using OAuth. Facebook requires use of its official SDK for mobile and doesn't allow web based flows.
2019-06-04 16:41:24 -07:00
Chuan Ren 64ddd88f1c Update Auth public headers (#3139) 2019-06-04 16:25:57 -07:00
Chuan Ren 514aa450f3 Update FIRAuthDataResult_Internal.h (#3077) 2019-05-24 14:24:09 -07:00
Yue-Wang-Google 11e3aeac64 call callback handler only when it's not null. (#3057) 2019-05-23 12:11:14 -07:00
Ryan Wilson 7e798c57b5 Fix common typos. (#3060) 2019-05-23 13:35:55 -04:00
Yue-Wang-Google e86be98359 In case user is nil, we don't generate FIRAuthResult. (#2918) 2019-05-21 12:34:30 -07:00
Chuan Ren 30013eea06 Fix link with email link bug (#3030) 2019-05-20 10:47:46 -07:00
Chuan Ren b10d4546dd Add support of web.app as an auth domain (#2959) 2019-05-08 14:22:27 -07:00
Yue-Wang-Google dfa740ca7e Fix a bug where request string for VerifyBeforeUpdateEmail is set inc… (#2932)
* Fix a bug where request string for VerifyBeforeUpdateEmail is set incorrectly

* change VERIFY_AND_CHANGE_EMAIL request type name
2019-05-02 17:22:15 -07:00
Yue-Wang-Google 06654e8711 Put secret and oauth credentials into the private headers for now. (#2916) 2019-05-01 15:56:40 -07:00
Yue-Wang-Google ec92f243e8 Fix clang analyzer warnings for Firebase Auth. (#2879) 2019-04-22 23:12:41 -07:00
Maksym Malyhin 76aa880853 GULAppDelegateSwizzler - proxy APNS methods separately (#2835) 2019-04-17 17:35:14 -04:00
Yue-Wang-Google e23184db77 Implement verifyBeforeUpdateEmail. (#2857) 2019-04-17 13:44:32 -07:00
Chuan Ren 2f8519fd95 Decouple verify client logic from phone auth (#2845) 2019-04-17 12:55:48 -07:00
Chuan Ren 53d7ee7c3e Remove spaces in file paths (#2798) 2019-04-10 11:38:24 -07:00
Maksym Malyhin 55814996a1 Cocoapods 1.7.0 multiproject support (b/128794527) (#2751) 2019-04-08 22:38:51 -04:00
Yue-Wang-Google 4ae6843156 Revert Twitter Auth deprecation because devepler may want to build their own sign in flow (#2765) 2019-04-08 14:47:35 -07:00
Yue-Wang-Google aaddd56531 Remove support for deprecated API for Firebase 6 (#2759) 2019-04-08 13:51:32 -07:00
Chuan Ren c3f9340f07 Deprecate fetchProvidersForEmail (#2756) 2019-04-08 11:20:05 -07:00
Chuan Ren dae3442966 Remove deprecated APIs (#2723) 2019-04-05 14:35:15 -07:00
Maksym Malyhin cd507af559 Auth - use GULAppDelegateSwizzler (#2710) 2019-04-05 10:46:56 -04:00
Paul Beusterien 45909c3ceb Remove unusedimport (#2730) 2019-04-04 19:11:53 -07:00
Chuan Ren 10fb730818 Update FIRAuthSettings.h (#2722) 2019-04-04 14:36:42 -07:00
Michael Lehenbauer f7e893c281 Don't init FIRAuthStoredUserManager with a nil keychainServiceName. (#2721)
This avoids a crash we're running into in the Firestore unit tests (I think there's a race in this code related to Firestore deleting the FirebaseApp instance at the end of each test).
2019-04-04 13:53:48 -07:00
Yue-Wang-Google b30d00515b Implement oauth secret token in headful-lite. (#2663)
* Implement oauth secret token in headful-lite. This is useful for Twitter sign in.

* Deprecate TwitterAuth{Provider,Credential}. OAuth sign in flow is now the recommended way to sign in with Twitter.

* Add update OAuth credential to AuthDataResult. Developer can access the secret token from that.
2019-04-04 10:47:52 -07:00
Chuan Ren deac5de20b Project restruct (#2712) 2019-04-03 13:06:58 -07:00
Chuan Ren 3aff8d0760 Add support of sso (#2684) 2019-04-01 14:32:44 -07:00
Yue-Wang-Google 76a69834e2 Remove pendingToken from public API. It's added to public header by mistake. (#2676)
Developers are not supposed to use it, and they currently have no way to use it.
2019-03-29 13:36:08 -07:00
Yue-Wang-Google 3057672a9b Support ERROR_INVALID_PROVIDER_ID in Firebase Auth. (#2629) 2019-03-25 14:22:03 -07:00
Paul Beusterien 966ad6878f Fix typos (#2576) 2019-03-18 12:13:33 -07:00
Yue-Wang-Google 45d2fb2316 extract errorMessage directly from response when server returns 200 (#2542)
* extract errorMessage directly from response in case of returnIDPCredential=YES

Fix #2522.

In this case, the server returns an 200 without an error like the following:

```
[response data:] {
  "error": {
    "code": 400,
    "message": "FEDERATED_USER_ID_ALREADY_LINKED",
    "errors": [
      {
        "message": "FEDERATED_USER_ID_ALREADY_LINKED",
        "domain": "global",
        "reason": "invalid"
      }
    ]
  }
}
```

Rather, it is directly enclosed in the response with an errorMessage without a structure:

```
 [response data:] {
  key: value
 ...
  "errorMessage": "FEDERATED_USER_ID_ALREADY_LINKED",
  "kind": "identitytoolkit#VerifyAssertionResponse"
}
```

* Update Changelog
2019-03-13 07:38:13 -07:00
Yue-Wang-Google b1f909ea2d Don't create credential when VerifyAssertionResponse is empty (#2530)
Fix #2522
2019-03-12 18:29:35 -07:00
Yue-Wang-Google b67bc10d6c deprecate Microsoft and Yahoo Auth Provider ID (#2517) 2019-03-12 14:40:26 -07:00
Yue-Wang-Google 061a97d265 make VerifyAssertion is valid with pendingToken (#2521) 2019-03-11 17:30:04 -07:00
Ryan Wilson 2c2614e9c8 Fix typo in header documentation. (#2429) 2019-02-23 09:37:04 -08:00
Yue-Wang-Google 2e77efd786 Generic IDP support (#2405) 2019-02-22 21:23:17 -08:00
Chuan Ren 520ea859ec Fix a bug where unlinking emailpassword doesn’t remove provider data (#2370) 2019-02-08 18:57:31 -08:00
Chuan Ren f2f413c46e Fix a bug where sign in with Game Center doesn’t return additional user info (#2368) 2019-02-08 15:55:16 -08:00
Chuan Ren 26f021a838 Fix a bug where sign in with email link always return isNewUser as false (#2363) 2019-02-08 13:21:34 -08:00
Chuan Ren 10f50bf748 Add NS_ASSUME_NONNULL_NOTATION for game center sign in (#2359) 2019-02-07 14:34:42 -08:00
Chuan Ren a2e13d5b1c Resolve hard dependency of GameKit (#2355) 2019-02-06 11:15:08 -08:00
Chuan Ren a3dfe083bf Support NSSecureCoding for auth credentials (#2242) 2019-01-10 16:45:38 -08:00
Ryan Wilson 676c616ebb Fix small typos in public documentation. (#2192) 2018-12-17 10:53:46 -05:00
Paul Beusterien 943141e0cd Use registerLibrary for pods in Firebase workspace (#2137)
* Add versioning to Functions and convert to FIRLibrary
* Convert Firestore to FIRLibrary
* Point travis to FirebaseCore pre-release for its deps
* Update user agent strings to match spec
2018-12-13 08:36:08 -08:00
Benoit St-Pierre bc0855048a Clean up FIRAuth bits from FIRApp (#2110)
* Clean up FIRAuth bits from FIRApp
2018-12-07 09:31:10 -05:00
Chuan Ren 663225526e Add support of Game Center sign in (#2127) 2018-11-30 17:30:22 -08:00
Chuan Ren ebea1eff17 Custom fdl domain (#2121) 2018-11-26 22:19:29 -08:00
Chuan Ren a1966bb639 Add test for verify iOS client (#2096) 2018-11-19 15:34:18 -08:00
zxu f999fffbb6 fix common typo (#1833) 2018-09-17 13:00:50 -04:00
Chuan Ren f151178392 Revert "Add supporting of custom fdl domain" (#1828) 2018-09-14 16:44:56 -07:00