omniauth-ebay-oauth 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fb141a515171c5891e73fa328ffe959abbea166644a927f43f546143b9384ad
4
- data.tar.gz: fcdba1511fd15fd35f0dbc21b52ef5ebc37c319b744dd344de550410bcfb5dd4
3
+ metadata.gz: 63b08f5bc58f7bcbd504a7df25e2e3e3b481ec6c7037687db000a509f842f0b7
4
+ data.tar.gz: 488137afb6cb43361a9dc79b1744d28f934456bd6c1df7baef34889f076858ce
5
5
  SHA512:
6
- metadata.gz: 1035eaf825e69b8e9de0a6eefcd5054228b7366c10ccfd81ce5370f6998e7d03650c40c65e70709ea635a43bc70ce596064b941f3a52a69c9f109fda3f45988f
7
- data.tar.gz: b173b770f3d439d956cd4c287201b4eb523392a3bda50b10e4bc3fe93d0002ef4a45cd63884765ae48cf7756cf86b8c67ee4ed615c212ee61494e66227309457
6
+ metadata.gz: 8663fc799309d225632263e635338ea641d11081ed220c025591174e56cb6731b8d15551cb44f937ef846273bb53783f69293070930720f674dbe34cec663d99
7
+ data.tar.gz: 7ee548e2de5933b0ea22621e4049da2909da9e00400a06f88096df72dc577be4f508cd2985206f5f6be34c809b7e57aeb4a126021c143be20f1c40b73258cb53
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.4.0] - 2018-08-10
8
+
9
+ ### Changed
10
+
11
+ - Changed default authentication endpoint. @Envek
12
+
13
+ Before: https://signin.ebay.com/authorize – always displays user consent screen “Allow APP_NAME to act on your behalf?”.
14
+
15
+ After: https://auth.ebay.com/oauth2/authorize – doesn't repeatedly ask for user consent.
16
+
17
+ I can't find new endpoint address in docs, but it is used in the wild.
18
+
7
19
  ## [0.3.0] - 2018-03-23
8
20
 
9
21
  ### Added
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module EbayOauth
5
- VERSION = '0.3.0'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
@@ -9,11 +9,11 @@ module OmniAuth
9
9
  option :production_client_options,
10
10
  user_info_endpoint: 'https://api.ebay.com/ws/api.dll',
11
11
  token_url: 'https://api.ebay.com/identity/v1/oauth2/token',
12
- authorize_url: 'https://signin.ebay.com/authorize'
12
+ authorize_url: 'https://auth.ebay.com/oauth2/authorize'
13
13
  option :sandbox_client_options,
14
14
  user_info_endpoint: 'https://api.sandbox.ebay.com/ws/api.dll',
15
15
  token_url: 'https://api.sandbox.ebay.com/identity/v1/oauth2/token',
16
- authorize_url: 'https://signin.sandbox.ebay.com/authorize'
16
+ authorize_url: 'https://auth.sandbox.ebay.com/oauth2/authorize'
17
17
 
18
18
  option :name, :ebay
19
19
  option :sandbox, true
@@ -71,7 +71,7 @@ RSpec.describe OmniAuth::Strategies::EbayOauth do
71
71
 
72
72
  it 'has correct eBay sandbox authorize url' do
73
73
  expect(subject.options.client_options.authorize_url)
74
- .to eq('https://signin.sandbox.ebay.com/authorize')
74
+ .to eq('https://auth.sandbox.ebay.com/oauth2/authorize')
75
75
  end
76
76
  end
77
77
 
@@ -90,7 +90,7 @@ RSpec.describe OmniAuth::Strategies::EbayOauth do
90
90
 
91
91
  it 'has correct eBay production authorize url' do
92
92
  expect(subject.options.client_options.authorize_url)
93
- .to eq('https://signin.ebay.com/authorize')
93
+ .to eq('https://auth.ebay.com/oauth2/authorize')
94
94
  end
95
95
  end
96
96
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-ebay-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignat Zakrevsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-23 00:00:00.000000000 Z
12
+ date: 2018-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth