omniauth-nusso 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/nusso/version.rb +1 -1
- data/lib/omniauth/strategies/nusso.rb +2 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ccd09919e30d62e48768a10bad13652bc4800054f4bb9a73259d463a9003977
|
4
|
+
data.tar.gz: a0ed9ca04d334f45b5997ab6d3f740f89b30d2f9062b0d70e0a116bd687904ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d497393bd227af61e36ce88ebd20f82b82f05f73698a6404ee253be7c2a291d029760e0b345e0f992e0b26fd39eab8e1968fce2d8a79a69ce84c28b2fe65b0b0
|
7
|
+
data.tar.gz: 5a340ca81154218b5bc1347dd1d6abd6ce9e1350e98d2bcf4747f4b6442da9c5041ea6b15a22dc504e33a3d84bec6edd3423a822d51ae93c3db0bfd94b2c8f5f
|
@@ -88,7 +88,7 @@ module OmniAuth
|
|
88
88
|
|
89
89
|
def get_directory_attributes(token, net_id)
|
90
90
|
response = get("validate-with-directory-search-response", webssotoken: token)
|
91
|
-
Hash[
|
91
|
+
entry = Hash[
|
92
92
|
response['results'].first.map do |k, v|
|
93
93
|
case v
|
94
94
|
when [] then nil
|
@@ -98,6 +98,7 @@ module OmniAuth
|
|
98
98
|
end
|
99
99
|
end.compact
|
100
100
|
]
|
101
|
+
netid_user(net_id).merge(entry)
|
101
102
|
rescue AuthException, JSON::ParserError
|
102
103
|
netid_user(net_id)
|
103
104
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-nusso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brendan Quinn
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
|
-
description:
|
181
|
+
description:
|
182
182
|
email:
|
183
183
|
- brendan-quinn@northwestern.edu
|
184
184
|
executables: []
|
@@ -208,7 +208,7 @@ licenses:
|
|
208
208
|
metadata:
|
209
209
|
homepage_uri: https://github.com/nulib/omniauth-nusso
|
210
210
|
source_code_uri: https://github.com/nulib/omniauth-nusso
|
211
|
-
post_install_message:
|
211
|
+
post_install_message:
|
212
212
|
rdoc_options: []
|
213
213
|
require_paths:
|
214
214
|
- lib
|
@@ -223,8 +223,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
|
-
rubygems_version: 3.
|
227
|
-
signing_key:
|
226
|
+
rubygems_version: 3.1.6
|
227
|
+
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: OmniAuth strategy for Northwestern University Agentless SSO.
|
230
230
|
test_files: []
|