0

When I try to log in with omniauth(facebook) I get Invalid credentials error in production but it works fine in local.

I already added the urls in Valid OAuth redirect URIs

The callbacks I get are

/auth/facebook/callback?code=....

CallbacksController#failure

The gems I have.

  • oauth2 (1.2.0)
  • omniauth (1.3.1)
  • omniauth-facebook (4.0.0)
  • omniauth-oauth2 (1.4.0)
robzdc
  • 312
  • 2
  • 12

1 Answers1

0

The solution was removing my IP from Server IP Whitelist

OAuth Error: This IP can't make requests for that application

Community
  • 1
  • 1
robzdc
  • 312
  • 2
  • 12