Skip to content
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

Internal Server Error on Facebook login #25

Open
DanielNgozika opened this issue May 1, 2019 · 7 comments
Open

Internal Server Error on Facebook login #25

DanielNgozika opened this issue May 1, 2019 · 7 comments

Comments

@DanielNgozika
Copy link

The server returns this error message: "Invalid appsecret_proof provided in the API argument" when logging in with Facebook. Meanwhile, the access_token required in the API field is filled with the accessToken returned from Facebook's response object. What am I doing wrong?

@edertaveiraturing
Copy link

Hi Daniel, I'll check it.

@edertaveiraturing
Copy link

Daniel, how do you are getting the accessToken?

@DanielNgozika
Copy link
Author

I get the access_Token by initializing the Facebook JavaScript SDK on my index.html file and calling the FB.login method on my sign_in file which on success returns amongst others in an object, an access_token. I then pass that access_token as a parameter to the /customers/facebook route but the response above was returned.

@AndlerRL
Copy link

AndlerRL commented Jun 6, 2019

I'm having the same issue with the access_token provided from the Facebook Javascript SDK and actually, I'm using the same technique while on Development Environment; I have not seen the result after deployment.

@sefaokumus
Copy link

Same here, same error. Is there any progress on this ?

@edertaveiraturing
Copy link

@sefaokumus @AndlerRL @DanielNgozika Hi guys. Do you, by chance, are using HTTP instead of HTTPS?

@sefaokumus
Copy link

I was on my local host. I will try https. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants