-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add idToken on signIn w/ Apple response #857
Comments
I've exposed the However it's not possible to return the |
So, I've tried using signInWithCredential after signing-in with Apple with the following code:
Unfortunately, it gives me this error:
Is it possible to have the EDIT: I made a test modifying the plugin, and indeed the sign-in now works, passing the rawNonce. This is the change:
The Cordova updated and working code is:
|
Feature request
There is already an opened feature request about this (#551) but since it says fixed by #633 , maybe it has been forgotten.
I think that a lot of us use both the cordova-plugin-firebasex and the Firebase javascript SDK for different things. For example I use this plugin for push notifications, while I use the Firebase javascript SDK for Firestore and the Realtime database (which isn't available using this plugin).
Obviously I need an authenticated user on the Firebase javascript SDK to use the Realtime database, and with Android it has been implemented:
But on iOS (
authenticateUserWithApple
) the credential object returned doesn't have the propertyidToken
, so we can't pass it to thesignInWithCredential
function. Is it possible to add that property toauthenticateUserWithApple
as well? (see: #633)The text was updated successfully, but these errors were encountered: