Search code examples
ruby-on-railsfacebookomniauth

Invalid credentials when trying to authenticate via Facebook


Can't connect via facebook anymore on my rails app

Here is the error I get

GET https://www.myapp.com/auth/failure?message=invalid_credentials&strategy=facebook 404

No changes were made to the app and it worked fine 2 days ago


Solution

  • Same question is asked here:

    Omniauth: callback not firing, returns failure with "invalid credentials"

    bundle update omniauth
    bundle update omniauth-facebook
    

    solves the issue.