lib/omniauth/strategies/boletosimples.rb in omniauth-boletosimples-0.0.8 vs lib/omniauth/strategies/boletosimples.rb in omniauth-boletosimples-0.0.9

- old
+ new

@@ -66,9 +66,13 @@ def raw_info @raw_info ||= load_identity end + def callback_url + options[:redirect_uri] || (full_host + script_name + callback_path) + end + def authorize_params super.tap do |params| params[:scope] ||= DEFAULT_SCOPE end end