openid_connect 2.2.1 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/openid_connect/access_token.rb +2 -2
- data/lib/openid_connect/client/registrar.rb +1 -1
- data/lib/openid_connect.rb +2 -1
- data/openid_connect.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1846c96c032313eff89f8fcb9a753643c373ff00d6de12254b7f679d7802b4ab
|
4
|
+
data.tar.gz: 58c0780a7873c51f18fad3d847272fa49b59d88992a0833cf3f3396edc6d9303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d605a9a6301af104cf1173b8626e5c1403a930b16cd49c738e2b7e08a8b8f23cfac4d53cfc649cb5484c73e22e1dc3c8b72941abda64942c405931cc17392e8
|
7
|
+
data.tar.gz: 70c4fcd75e6f7913475b5d8c070df75d37c242e3888010b5ec30eba95784258577b6de1575f52e494d44bf0c475a6d62b76e180c67c7e573f198ff910cf35d7c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3.1
|
@@ -30,7 +30,7 @@ module OpenIDConnect
|
|
30
30
|
when 200
|
31
31
|
res.body.with_indifferent_access
|
32
32
|
when 400
|
33
|
-
raise BadRequest.new('API Access
|
33
|
+
raise BadRequest.new('API Access Failed', res)
|
34
34
|
when 401
|
35
35
|
raise Unauthorized.new('Access Token Invalid or Expired', res)
|
36
36
|
when 403
|
@@ -42,4 +42,4 @@ module OpenIDConnect
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
require 'openid_connect/access_token/mtls'
|
45
|
+
require 'openid_connect/access_token/mtls'
|
@@ -118,7 +118,7 @@ module OpenIDConnect
|
|
118
118
|
|
119
119
|
def valid_uri?(uri, schemes = ['http', 'https'])
|
120
120
|
# NOTE: specify nil for schemes to allow any schemes
|
121
|
-
URI::
|
121
|
+
URI::DEFAULT_PARSER.make_regexp(schemes).match(uri).present?
|
122
122
|
end
|
123
123
|
|
124
124
|
def validate_contacts
|
data/lib/openid_connect.rb
CHANGED
data/openid_connect.gemspec
CHANGED
@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_runtime_dependency "attr_required", ">= 1.0.0"
|
17
17
|
s.add_runtime_dependency "activemodel"
|
18
18
|
s.add_runtime_dependency "validate_url"
|
19
|
-
s.add_runtime_dependency "
|
19
|
+
s.add_runtime_dependency "email_validator"
|
20
|
+
s.add_runtime_dependency "mail"
|
20
21
|
s.add_runtime_dependency 'faraday', '~> 2.0'
|
21
22
|
s.add_runtime_dependency 'faraday-follow_redirects'
|
22
23
|
s.add_runtime_dependency "json-jwt", ">= 1.16"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openid_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -67,7 +67,21 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: email_validator
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mail
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - ">="
|
@@ -363,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
363
377
|
- !ruby/object:Gem::Version
|
364
378
|
version: '0'
|
365
379
|
requirements: []
|
366
|
-
rubygems_version: 3.
|
380
|
+
rubygems_version: 3.5.16
|
367
381
|
signing_key:
|
368
382
|
specification_version: 4
|
369
383
|
summary: OpenID Connect Server & Client Library
|