omniauth-sialog 0.1.0 → 0.1.1
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/lib/omniauth/sialog/version.rb +1 -1
- data/lib/omniauth/strategies/sialog.rb +5 -4
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a93c2f8858828390cf386a04e4a021e77be97aed2ff69c2df21649c3f9152ac3
|
4
|
+
data.tar.gz: 48fd163e72aff1c327c862706be2b83724ef45a10bc9da537af7aadf4bcbf05d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38278d6c5a50385bced7ddab6862b0bb0573fef49f7d347592c608f79baa470c8471a26b071ee9caf462d8962272765bf61167c245622783436f8c6a6e8d5f02
|
7
|
+
data.tar.gz: 513f5aa654e554ef1a83645a4f230931afc72bfc5cc192002288257b92778cda0679cb1761394c68659884789ad139abfda330fb00ce341bc489e24cf17270c7
|
@@ -8,16 +8,17 @@ module OmniAuth
|
|
8
8
|
class Sialog < OmniAuth::Strategies::OAuth2
|
9
9
|
option :name, :sialog
|
10
10
|
|
11
|
-
option :client_options, site: '
|
11
|
+
option :client_options, site: 'https://accounts.sialog.com', authorize_url: '/oauth/authorize'
|
12
12
|
|
13
13
|
uid { raw_info['id'] }
|
14
14
|
|
15
15
|
info do
|
16
16
|
{
|
17
|
+
name: raw_info['name'],
|
18
|
+
last_name: raw_info['last_name'],
|
17
19
|
email: raw_info['email'],
|
18
|
-
|
19
|
-
|
20
|
-
company_group_name: raw_info['company_group_name']
|
20
|
+
clearance: raw_info['clearance'],
|
21
|
+
company_groups: raw_info['company_groups']
|
21
22
|
}
|
22
23
|
end
|
23
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-sialog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francis Schiavo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -139,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
|
143
|
-
rubygems_version: 2.7.8
|
142
|
+
rubygems_version: 3.0.3
|
144
143
|
signing_key:
|
145
144
|
specification_version: 4
|
146
145
|
summary: Sialog strategy for OmniAuth
|