FB login - Firebase.Auth() Error: The supplied auth credential is malformed or has expired

前端 未结 7 2192
旧时难觅i
旧时难觅i 2021-01-18 18:17

I\'m using react-native-fbsdk: 0.8.0, react-native-firebase: ^5.2.2, react-native: ^0.57.4 and Facebook Test User account.

This happened so suddenly. On

相关标签:
7条回答
  • 2021-01-18 18:31

    I know that is not a real solution.. but I've added a logout function before the signIn. I had no problems yet. The problem consists of the same user tried to connect multiple times without a proper logout.

    0 讨论(0)
  • 2021-01-18 18:39

    In my case; i got rid of this error when i turned off "Is App Secret embedded in the client?" in: Facebook for developers -> Settings -> Advanced.

    Note: This option is visible if "Native or desktop app?" is enabled.

    0 讨论(0)
  • 2021-01-18 18:42

    If the app secret is wrong in firebase than this problem occurs

    if the access token is entered wrong than also this problem occurs

    0 讨论(0)
  • 2021-01-18 18:44

    I had the same issue, when it turned out I forgot to set the correct API keys and secret in the Firebase console (Authentication methods).

    0 讨论(0)
  • 2021-01-18 18:45

    In my case, I had added the wrong bundle ID/ iOS application to Firebase. So I went back to the project on Firebase, clicked Settings icon, clicked Project Settings, and removed the iOS app, and re-added the correct application.

    This could potentially fix problems on Android too, ensure the package name is correct.

    0 讨论(0)
  • 2021-01-18 18:49

    Had the same issue, it's gone after restarting the device

    0 讨论(0)
提交回复
热议问题