openid_connect 0.3.4 → 0.3.5
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.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/openid_connect/response_object/id_token.rb +1 -1
- metadata +8 -2
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.5
|
|
@@ -49,7 +49,7 @@ module OpenIDConnect
|
|
|
49
49
|
end
|
|
50
50
|
expected_user_id = UrlSafeBase64.encode64 OpenSSL::Digest::SHA256.digest(user_id_base_string)
|
|
51
51
|
raise InvalidToken.new('Invalid user_id') unless jwt[:user_id] == expected_user_id
|
|
52
|
-
jwt.
|
|
52
|
+
jwt = JSON::JWT.decode jwt_string, public_key
|
|
53
53
|
new jwt
|
|
54
54
|
end
|
|
55
55
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openid_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -325,12 +325,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
325
325
|
- - ! '>='
|
|
326
326
|
- !ruby/object:Gem::Version
|
|
327
327
|
version: '0'
|
|
328
|
+
segments:
|
|
329
|
+
- 0
|
|
330
|
+
hash: -3677536846198614585
|
|
328
331
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
329
332
|
none: false
|
|
330
333
|
requirements:
|
|
331
334
|
- - ! '>='
|
|
332
335
|
- !ruby/object:Gem::Version
|
|
333
336
|
version: '0'
|
|
337
|
+
segments:
|
|
338
|
+
- 0
|
|
339
|
+
hash: -3677536846198614585
|
|
334
340
|
requirements: []
|
|
335
341
|
rubyforge_project:
|
|
336
342
|
rubygems_version: 1.8.24
|