Giter VIP home page Giter VIP logo

Comments (17)

SamiChab avatar SamiChab commented on August 15, 2024 5

It happened to me after changing the App Id and App secret keys in firebase.
The new keys were not updated until I disabled and enabled the method again:
image

from firebaseui-web.

alfongj avatar alfongj commented on August 15, 2024 4

In your Facebook application settings, could you go to the Advanced Setting tab (you may need to click on the "Native or desktop app?" button), and ensure both of these are disabled:

  • "Is App Secret embedded in the client?"
  • "Require App Secret"

from firebaseui-web.

Vinq-it-JV avatar Vinq-it-JV commented on August 15, 2024 3

Hi all, Just found that I had an IP address in the Facebook App's Server IP Whitelist (Settings/Advanced). After removing that and storing the change the error was gone!

from firebaseui-web.

infinityl00p avatar infinityl00p commented on August 15, 2024 1

Having this same issue as of React Native 0.52
Full Error Message:

{"error":{"errors":[{"domain":"global","reason":"invalid","message":"Unsuccessful debug_token response from Facebook: {\"error\":{\"message\":\"(#100) The App_id in the input_token did not match the Viewing App\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"EpP6p3IVs3a\"}}"}],"code":400,"message":"Unsuccessful debug_token response from Facebook: {\"error\":{\"message\":\"(#100) The App_id in the input_token did not match the Viewing App\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"EpP6p3IVs3a\"}}"}}

Note: i've checked my app id and app secret in firebase many...many...many times. Also have added my reroute url on facebooks dev console.

from firebaseui-web.

bojeil-google avatar bojeil-google commented on August 15, 2024

Did you happen to be migrating from Firebase V2? If not, make sure you have entered the correct client id and secret for Facebook in the Firebase Console. Also make sure you have configured your Facebook app correctly in the Facebook developer console.

from firebaseui-web.

tptshoe avatar tptshoe commented on August 15, 2024

I saw that there was an issue involved with migrating, so I created a new firebase project and a new facebook app. Still the same error.

Since Google login and email/password are both working, I think I'll leave it for now and keep an eye on this space for updates.

from firebaseui-web.

bojeil-google avatar bojeil-google commented on August 15, 2024

I don't believe this is a migration issue. We will investigate this issue and get back to you.

from firebaseui-web.

liujin-google avatar liujin-google commented on August 15, 2024

Can you dump the http response for the POST request above (with 400 error)? For Chrome browser, the network trace can be seen in Debug Tools | Network.

from firebaseui-web.

tptshoe avatar tptshoe commented on August 15, 2024

Thanks for responding to my post, and so quickly! Here's the response I'm getting:

{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Fail to fetch resource from https://graph.facebook.com/me?fields=id,email,picture,name,first_name,last_name,birthday,gender, http status is: 400, http response is: {"error":{"message":"API calls from the server require an appsecret_proof argument","type":"GraphMethodException","code":100,"fbtrace_id":"G+O9hczeqXG"}}"
}
],
"code": 400,
"message": "Fail to fetch resource from https://graph.facebook.com/me?fields=id,email,picture,name,first_name,last_name,birthday,gender, http status is: 400, http response is: {"error":{"message":"API calls from the server require an appsecret_proof argument","type":"GraphMethodException","code":100,"fbtrace_id":"G+O9hczeqXG"}}"
}
}

from firebaseui-web.

tptshoe avatar tptshoe commented on August 15, 2024

In case it helps, I've also put the code I'm running here:

https://github.com/tptshoe/authtest

from firebaseui-web.

tptshoe avatar tptshoe commented on August 15, 2024

I just checked, and they are all set to "No" or disabled.

from firebaseui-web.

liujin-google avatar liujin-google commented on August 15, 2024

This is the first time we see the Facebook "API calls from the server require an appsecret_proof argument" error msg when "Require App Secret" is off. On this Wed the Firebase Authentication service will add the appsecret_proof param in the request to Facebook. If you still encounter the issue then, please let us know.

from firebaseui-web.

tptshoe avatar tptshoe commented on August 15, 2024

Just checked it and it's working great!! Thanks very much!

FirebaseUI is a HUGE timesaver for me, thank you!!!

from firebaseui-web.

alexkendall avatar alexkendall commented on August 15, 2024

@liujin-google Having this issue as of React Native 0.42

from firebaseui-web.

i-Roma avatar i-Roma commented on August 15, 2024

It happened to me after changing the App Id and App secret keys in firebase.
The new keys were not updated until I disabled and enabled the method again:
image

Great, thank you!

from firebaseui-web.

zerobytes avatar zerobytes commented on August 15, 2024

Hi all, Just found that I had an IP address in the Facebook App's Server IP Whitelist (Settings/Advanced). After removing that and storing the change the error was gone!

Saved my life dude . Thanks

from firebaseui-web.

renejesusgv avatar renejesusgv commented on August 15, 2024

Hi all, Just found that I had an IP address in the Facebook App's Server IP Whitelist (Settings/Advanced). After removing that and storing the change the error was gone!

Yes, thank you man, you should only add an IP to the whitelist when debugging locally. Otherwise you will have this error.

from firebaseui-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.