diff --git a/lib/omniauth/paypal/version.rb b/lib/omniauth/paypal/version.rb index d51be42..d51e8c0 100644 --- a/lib/omniauth/paypal/version.rb +++ b/lib/omniauth/paypal/version.rb @@ -1,5 +1,5 @@ module OmniAuth module PayPal - VERSION = "0.1.0" + VERSION = "0.1.1" end end \ No newline at end of file diff --git a/lib/omniauth/strategies/paypal.rb b/lib/omniauth/strategies/paypal.rb index f231192..3af6383 100644 --- a/lib/omniauth/strategies/paypal.rb +++ b/lib/omniauth/strategies/paypal.rb @@ -13,6 +13,7 @@ class PayPal < OmniAuth::Strategies::OAuth2 } option :authorize_options, [:scope, :response_type] + option :provider_ignores_state, true uid { raw_info['userId'] } diff --git a/omniauth-paypal.gemspec b/omniauth-paypal.gemspec index b471334..e29946a 100644 --- a/omniauth-paypal.gemspec +++ b/omniauth-paypal.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency 'omniauth-oauth2', '~> 1.0.0' + s.add_runtime_dependency 'omniauth-oauth2', '~> 1.1.0' s.add_development_dependency 'rspec', '~> 2.7.0' s.add_development_dependency 'rake'