-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth, oauth): support native oauth providers (#7443)
* (ANDROID ONLY) Add support for native OAuth Providers (Microsoft, Yahoo) * (DRAFT) iOS Support * (DRAFT) iOS Support - Fix typo * (DRAFT) iOS Support - Fix premature memory deallocation by ARC Methods such as getCredentialWithUIDelegate and linkWithCredential are asynchronous, meaning the local variable builder or user would be prematurely deallocated by ARC after the function has ended. Resolve this by using __block, ensuring that the variable is retained until the completion block has finished executing * (DRAFT) iOS Support - Fix premature memory deallocation by ARC * Update types of signInWithProvider, and linkWithProvider * Fix typo in Android's linkWithProvider warning logs * (iOS & Android) Add support for reauthentication with provider for completeness * Fix typo in Microsoft documentation * Fix TSC errors (Create new separate type OAuthProvider) * Fix linting errors * test(auth, oauth): patch up tests after rebase * Fixed customeParameters in builder and updated doc for multi-tenant * Removed typescript from js file * chore: use Log.d for logging .e and .w seem too high for things that can be expected to happen based on user input * test(auth): fix nesting too deep after conflict resolution I think during the rebase where I merged main back into this PR I got the nesting a little off here * fix: reshape provider APIs to mirror firebase-js-sdk * Update docs/auth/social-auth.md Co-authored-by: Milutin <milutin.pesikan@gmail.com> * style(lint): `yarn lint:markdown --write` somehow this doesn't show up on macOS but it does on ubuntu and ci checks are on ubuntu --------- Co-authored-by: kielking <kielkingtop04@gmail.com> Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Milutin <milutin.pesikan@gmail.com>
- Loading branch information
1 parent
8673f31
commit 8461691
Showing
15 changed files
with
828 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8461691
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-native-firebase – ./
react-native-firebase-git-main-invertase.vercel.app
react-native-firebase-invertase.vercel.app
rnfirebase.io
react-native-firebase.vercel.app