It now defers to the base strategy callback_url which appends the current query string to the redirect_uri that is passed to the token request. This breaks the omniauth-twitch gem since twitch expects a redirect_uri that exactly matches the config
Two possible fixes:
Pin the omniauth-oauth2 dependency to 1.3.1 or less:
This merged commit removed the callback_url method override: https://github.com/intridea/omniauth-oauth2/pull/70
It now defers to the base strategy callback_url which appends the current query string to the redirect_uri that is passed to the token request. This breaks the omniauth-twitch gem since twitch expects a redirect_uri that exactly matches the config
Two possible fixes:
Pin the omniauth-oauth2 dependency to 1.3.1 or less:
Override the callback_url method in the strategy: