diff --git a/lib/omniauth/strategies/mixi.rb b/lib/omniauth/strategies/mixi.rb index b82a634..e7a31ab 100644 --- a/lib/omniauth/strategies/mixi.rb +++ b/lib/omniauth/strategies/mixi.rb @@ -49,6 +49,10 @@ def raw_info access_token.get('/2/people/@me/@self?fields=@all').parsed['entry'] end + def callback_url + full_host + script_name + callback_path + end + def authorize_params super.tap do |params| %w[display state scope].each do |v|