Open jakubmichalski opened 5 days ago
Hello!
Thank you for bringing this to our attention. I’ll double-check the details you mentioned. In the meantime, could you let us know if this issue is still occurring on your end?
Thanks again for your patience!
Hi @Alezanello thank you for checking, I can confirm the problem still occurs. In addition, I was able to check on web (deployed to production, hosted by flutterflow) and the result is nothing happens after press of Facebook button (same code as in case of iOS where I get the Facebook login window). I think the same case was described in #2709. Also I made sure the email from facebook is not associated with any existing firebase account (i.e. I have removed it).
I have also tried to re-create Meta/Facebook App - there is no improvement.
Can we access your project?
Current Behavior
I attempt to integrate Facebook login following official instruction. I've already working Apple and Google login.
Reproducible on real devices and simulators (iOS and Android). Reproducible on deployed version (via TestFlight) and local run.
Current behaviour:
Expected Behavior
At step 3 user to be authenticated in Firebase.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITFXzfLl7ZdPmNhE+qXyK8dVgjgwFjMMbY0v0u0bFB4YF4zzP7MAYeDeR0NKTPWqdAhiMWGkhmcCpvDIkuDLJew4aA2uUbpT0JVAZzrxWlqhWpfTCJaOQ3BCI8JmI26g3J2vgR0nCLJ1LXdn3U2pNq3qNleeY8aSfxBlZ7vfcPo=
Visual documentation
I have investigated the issue in AndroidStudio and I noticed the Facebook AccessTokenType.limited is being used.
If I add in AndroidManifest.xml
<meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token" />
and corresponding client-token in strings.xml, then during Facebook authentication AccessTokenType.classic token is being used.With AccessTokenType.classic user gets authenticated successfully in Firebase and I see user is created with Facebook. Then in the FlutterFlow app, I got authenticated user with Firebase sign-in.
Environment
Additional Information
Blocking Facebook login implementation (Google and Apple are working as expected).