omniauth-cz-shop-platforms 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/cz_shop_platforms/version.rb +1 -1
- data/lib/omniauth/strategies/shoptet.rb +5 -4
- 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: 266c4af03e88ee7e38201f9d5b0cf6f980fc7fb62430ed41824b9a3adf1a9bef
|
4
|
+
data.tar.gz: 3a8293c815420e4a4b14d4c1ff0d59257932c0c9a0a69dfcad04fc8f637434e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6275679aeb2dabd4d03a5fa9fdce9695b6ed91b7f3f6d461b8241bcfc115eb3230fc71924c0f32bb5515274379b6a8c5639603a3c96cd080647e7aef7e0b7c6
|
7
|
+
data.tar.gz: 9ccde7f9f93986a82ba4ae8672c592050837cff04d5a1e376b1a6b62501c47eccdb804eaee828f6fd83d484b7bc48ac1f8c229f8be320486e9bfcd8a038d09e6
|
@@ -42,12 +42,13 @@ module OmniAuth
|
|
42
42
|
::OAuth2::Client.new(options.client_id, options.client_secret, client_options)
|
43
43
|
end
|
44
44
|
|
45
|
-
uid { raw_info['
|
45
|
+
uid { raw_info['user']['email'] }
|
46
46
|
|
47
47
|
info do
|
48
48
|
{
|
49
|
-
email: raw_info['
|
50
|
-
|
49
|
+
email: raw_info['user']['email'],
|
50
|
+
name: raw_info['user']['name'],
|
51
|
+
store: raw_info['project']
|
51
52
|
}
|
52
53
|
end
|
53
54
|
|
@@ -60,7 +61,7 @@ module OmniAuth
|
|
60
61
|
end
|
61
62
|
|
62
63
|
def raw_info
|
63
|
-
@raw_info ||= access_token.get(USER_INFO_PATH).parsed
|
64
|
+
@raw_info ||= access_token.get(USER_INFO_PATH).parsed['data']
|
64
65
|
end
|
65
66
|
end
|
66
67
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-cz-shop-platforms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Sterba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|