-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔥new OAuthProvider()` is not supported on the native Firebase SDKs. (Even though it is) #3926
Comments
I am not sure OAuth support based on firebase implementation has ever been implemented here There is example code there if using a 3rd party (facebook is used, but you can obviously substitute react-native-oauth) authenticator then binding it with firebase via an auth call with the credential Maybe this helps? If you would like the native OAuth provider to work it will probably mean creating the PR to do so, the PR adding apple auth support (merged) and the one attempting new OAuth flow and gamecenter (closed unmerged sadly) might be templates |
react-native-oauth has been abandoned for two years so I'd like to avoid all the hacks that might be needed to make it work. That package also doesn't work with react-native-web (I'd like to switch between Firebase Web SDK and rnfirebase depending on platform). I'd love to help but sadly I don't have remotely enough experience to implement it here. For example, the commit which added Apple Auth seems to me like it would instantly respond with "not supported": mikehardy@c222521. Is there a list of all the other features from the native and web SDKs that aren't supported here to guide people like me who are drop-in-replacing them? |
I don't believe there is a list, and I don't believe there is a general stance that anything should be unsupported. I'm actually surprised this one is not supported, as mentioned above it might have just been too niche in combo with react-native-oauth working. I understand what you are saying from a quick scan of react-native-oauth, luckily it appears there is a vibrant alternative package: https://github.com/FormidableLabs/react-native-app-auth |
Thanks, my problem is solved. (Though this (bug?) still exists) |
FYI; auth is on our roadmap of getting a full API refresh to match the Web SDK and add in any missing APIs, we have started some minor work on this (e.g. #3862) but I can't say for certain when the full refresh will be done |
Thanks, I'll keep an eye on that. |
Hello 👋, to help manage issues we automatically close stale issues.
|
Not stale
…On Fri, Aug 14, 2020 at 11:47 PM stale[bot] ***@***.***> wrote:
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had
activity for quite some time. Has this issue been fixed, or does it still
require the community's attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3926 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMJTRUNYOA4VXQYGQ7NRYLSAYAMPANCNFSM4OXTJOZA>
.
|
Hello 👋, to help manage issues we automatically close stale issues.
|
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information. |
@mikehardy Please could you take a look at this Stack Overflow question? We've authenticated through |
Okay, I read it
I saw this in the linked stack overflow, is this the error you mention?
Could be something we could check, except...
given the above I don't see anything actionable yet, we need more info and demonstration of the problem |
@mikehardy Thanks very much for the quick reply. Your assumption regarding the error is correct. I'll get a new issue with the template opened with each of those points. |
Issue
Getting
new OAuthProvider()` is not supported on the native Firebase SDKs.
When running
var provider = new firebase.auth.OAuthProvider('zoom.com');
This definitely isn't true. See here and here.
Likely related to this check in your unit tests (along with potentially no implementation?)
Project Files
iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:"@react-native-firebase/app": "^8.2.0",
"@react-native-firebase/auth": "^8.2.0",
Firebase
module(s) you're using that has the issue:TypeScript
?N
Expo
?Y
&36.0.0
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: