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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/omniauth/ebay-oauth/version.rb +1 -1
- data/lib/omniauth/strategies/ebay_oauth.rb +2 -2
- data/spec/omniauth/strategies/ebay_oauth_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63b08f5bc58f7bcbd504a7df25e2e3e3b481ec6c7037687db000a509f842f0b7
|
|
4
|
+
data.tar.gz: 488137afb6cb43361a9dc79b1744d28f934456bd6c1df7baef34889f076858ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8663fc799309d225632263e635338ea641d11081ed220c025591174e56cb6731b8d15551cb44f937ef846273bb53783f69293070930720f674dbe34cec663d99
|
|
7
|
+
data.tar.gz: 7ee548e2de5933b0ea22621e4049da2909da9e00400a06f88096df72dc577be4f508cd2985206f5f6be34c809b7e57aeb4a126021c143be20f1c40b73258cb53
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -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://
|
|
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://
|
|
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://
|
|
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://
|
|
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.
|
|
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-
|
|
12
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: omniauth
|