This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
invalid_request: redirect uri mismatch between auth code and token #5
Labels
bug
Something isn't working
First of all thanks for the great Gem.
I'm using
gem 'omniauth', '
> 1.6.1'> 1.3.1'gem 'omniauth-oauth2', '
gem 'omniauth-facebook', '~> 4.0.0'
During the callback phase, I get an "invalid_request: redirect URI mismatch between auth code and token" error. The issue seems to be introduced in omniauth-oauth2 1.4.0: omniauth/omniauth-oauth2#93
And the
callback_url
method redefinition proposed in the thread solves the issue.Since the beginning, this gem has been dependent on omniauth-oauth2 1.4.0. Wondering if there is a work around that it's working with 1.4.0 or can the dependency downgraded to omniauth-oauth2 1.3.1 or possibly defining callback_url in the strategy?
The text was updated successfully, but these errors were encountered: