Hi,
I have encountered the problem when using “loginWithSocial” function.
Here is what I inputted to “loginWithSocial”:
firebase.loginWithSocial(accessToken, "facebook.com", "https://xxx.firebaseapp.com/\_\_/auth/handler", listener)
where “https://xxx.firebaseapp.com/__/auth/handler” is the link copied from firebase
And it returns the following:
{"isError":true,"error":"request failed: {\n \"error\": {\n \"errors\": [\n {\n \"domain\": \"global\",\n \"reason\": \"invalid\",\n \"message\": \"INVALID\_REQUEST\_URI\"\n }\n],\n \"code\": 400,\n \"message\": \"INVALID\_REQUEST\_URI\"\n }\n}\n"}
I’ve already set the link in facebook app setting “Valid OAuth redirect URIs”.
Is there anything missing in settings or in code?
Thanks for your help