The current omniauth-facebook seems to have some issues, and I want to know if anyone has answers to them.
First issue was the invalid credentials problem. I couldn't log in to my application using the client-side authorization because of this problem. However, this could be solved by downgrading facebook-omniauth to 1.4.0 version. (reference)
However, now I'm encountering second problem, NoAuthorizationCodeError, with the error message:
OmniAuth Strategies Facebook NoAuthorizationCodeError
(must pass either a `code` parameter or a signed request
(via `signed_request` parameter):
this was asked in here, but the accepted answer advises to actually upgrade to 1.4.1 version again, which would make the previous invalid credentials problem occur again. So this is not an option for me.
The NoAuthorizationCodeError happens when I try to log into my application inside the Facebook iFrame (searched my app from the app center) via internet explorer. Everything works fine on chrome or firefox. There's also a github issue exactly pinpointing this problem, but no one has come up with an answer yet. I've also tried to downgrade to omniauth-facebook 1.3.0 version, but it made no difference. I also tried to pass in the signed_request parameter like follows:
window.location = '/auth/facebook/callback',
{ signed_request: response.authResponse.signedRequest }
However, it didn't make any difference (on IE, the error still persists), and I'm not sure if tha