OmniAuth-Oauth removed the callback_url method in v1.4.0 in order to adhere to the Oauth2 spec.
OmniAuth-Oauth removed the callback_url method in v1.4.0 in order to adhere to the Oauth2 spec.

This change broke a lot of Oauth gems, including this one:

OAuth2::Error, invalid_grant: The `redirect_uri` provided did not match what is authorized by the code
This commit simply places the callback_url into the this strategy.

This bug was introduced on commit 24ca8caf1ae33897288f8a2ad3595655e7e10256
BoletoSimples/omniauth-boletosimples