Replies: 1 comment 2 replies
-
Yes, I think we need to merge that. I'll try to take a look at it myself over the next few days. Thank you for reporting it. |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
The issue
Facebook FAQ here states the following:
As far as I can tell the current
@capacitor-firebase/authentication
package does not support this Limited Login on iOS.That's why we got errors when tried to use this:
The code above resulted in errors like these:
Always code 190 and some message about the token being "bad"/"malformed" etc...
Solution
I forked the repo and played in local until I managed to modify the
FacebookAuthProviderHandler.swift
code to use the limited login option and log in on my iOS device using the idToken. This also means that accessToken will no longer work!These sources proved useful for the implementation:
Here is the implementation / diff:
main...YoloEdu:capacitor-firebase:main
Question
Should this change be merged into the original package?
I am no iOS developer and I am not really familiar with firebase either, so I am not really sure about this.
I feel this should be an issue for a lot of people who use this package for iOS facebook login.
But I did not see any opened issues or PRs regarding this problem.
Could someone take a look at my solution and decide if it's worth merging?
Beta Was this translation helpful? Give feedback.
All reactions