Bits
Bits

Reputation: 46

Omniauth-facebook redirect_uri error

I am making a website login with devise (for regular login) and omniauth-facebook for facebook login, and the regular login is working perfectly except the omniauth. I followed https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview this doc. And the Error I get from the response were:

Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request","type":"OAuthException","code":100

And I searched around and found that there is a pull request that fixes this problem..? https://github.com/mkdynamic/omniauth-facebook/issues/220 Does anyone know how to fix it while the pull request get merged into master?

Upvotes: 0

Views: 458

Answers (1)

sourcx
sourcx

Reputation: 974

You can point to a different source for the omniauth-facebook gem in your Gemfile like this:

gem "omniauth-facebook", git: "https://github.com/gioblu/omniauth-facebook"

It will use the one with the patch in it.

Upvotes: 1

Related Questions