omniauth_openid_connect 0.8.0 → 0.8.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/.github/workflows/main.yml +3 -3
- data/CHANGELOG.md +4 -0
- data/README.md +4 -3
- data/lib/omniauth/openid_connect/version.rb +1 -1
- data/lib/omniauth/strategies/openid_connect.rb +9 -3
- data/omniauth_openid_connect.gemspec +1 -0
- data/test/lib/omniauth/strategies/openid_connect_test.rb +82 -2
- metadata +279 -236
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e630092823855b6fb561de02b219d62dca82105d50fdca797d3fefe27264e226
|
|
4
|
+
data.tar.gz: 79ece00e7e487bc9e2c8148280db0075c839c5a204dd10866be4e260d8c1fafc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ed0861179c73cbcf9fc984e6aee573acec861fbde25eda634c1d627dc2f330871ee9f3d70408288ec3cbbfec869460392e6c60814978cfe06ef9423a6278e76
|
|
7
|
+
data.tar.gz: 05a978c33013699ab45cd58121f63aea8d5e98975e7176f0afa656fdf0102a296101747e6dd1fedc227dad62a461e61f6b3cbc4856f75b06e7a9e5c4c92028d8
|
data/.github/workflows/main.yml
CHANGED
|
@@ -14,12 +14,12 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
fail-fast: false
|
|
16
16
|
matrix:
|
|
17
|
-
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
|
|
17
|
+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "4.0", "jruby-10"]
|
|
18
18
|
name: Ruby ${{ matrix.ruby }}
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
21
|
- name: Checkout code
|
|
22
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@v6
|
|
23
23
|
|
|
24
24
|
- name: Setup Ruby
|
|
25
25
|
uses: ruby/setup-ruby@v1
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
runs-on: ubuntu-latest
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout code
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v6
|
|
55
55
|
|
|
56
56
|
- name: Setup Ruby
|
|
57
57
|
uses: ruby/setup-ruby@v1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Unreleased
|
|
2
2
|
|
|
3
|
+
# v0.8.1 (2026-11-27)
|
|
4
|
+
|
|
5
|
+
- Prefer the session nonce over the `nonce` callback parameter when verifying ID tokens (https://github.com/omniauth/omniauth_openid_connect/security/advisories/GHSA-f933-58j6-h68w)
|
|
6
|
+
|
|
3
7
|
# v0.8.0 (2024-07-04)
|
|
4
8
|
|
|
5
9
|
- Add `send_state` parameter to disable sending of state (https://github.com/omniauth/omniauth_openid_connect/pull/182)
|
data/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Or install it yourself as:
|
|
|
23
23
|
|
|
24
24
|
## Supported Ruby Versions
|
|
25
25
|
|
|
26
|
-
OmniAuth::OpenIDConnect is tested under 2.7, 3.0, 3.1, 3.2
|
|
26
|
+
OmniAuth::OpenIDConnect is tested under 2.7, 3.0, 3.1, 3.2, 3.3, 3.4
|
|
27
27
|
|
|
28
28
|
## Usage
|
|
29
29
|
|
|
@@ -83,7 +83,7 @@ end
|
|
|
83
83
|
| send_state | Should the authorize phase send a `state` parameter - this is recommended, not required by the OIDC specification | no | true | false |
|
|
84
84
|
| response_mode | The response mode per [spec](https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html) | no | nil | one of: :query, :fragment, :form_post, :web_message |
|
|
85
85
|
| display | An optional parameter to the authorization request to determine how the authorization and consent page | no | nil | one of: :page, :popup, :touch, :wap |
|
|
86
|
-
| prompt | An optional parameter to the
|
|
86
|
+
| prompt | An optional parameter to the authorization request to determine what pages the user will be shown | no | nil | one of: :none, :login, :consent, :select_account |
|
|
87
87
|
| send_scope_to_token_endpoint | Should the scope parameter be sent to the authorization token endpoint? | no | true | one of: true, false |
|
|
88
88
|
| post_logout_redirect_uri | The logout redirect uri to use per the [session management draft](https://openid.net/specs/openid-connect-session-1_0.html) | no | empty | https://myapp.com/logout/callback |
|
|
89
89
|
| uid_field | The field of the user info response to be used as a unique id | no | 'sub' | "sub", "preferred_username" |
|
|
@@ -95,7 +95,7 @@ end
|
|
|
95
95
|
| client_options | A hash of client options detailed in its own section | yes | | |
|
|
96
96
|
| jwt_secret_base64 | For HMAC with SHA2 (e.g. HS256) signing algorithms, specify the base64-encoded secret used to sign the JWT token. Defaults to the OAuth2 client secret if not specified. | no | client_options.secret | "bXlzZWNyZXQ=\n" |
|
|
97
97
|
| logout_path | The log out is only triggered when the request path ends on this path | no | '/logout' | '/sign_out' |
|
|
98
|
-
| acr_values | Authentication Class Reference(ACR) values to be passed to the authorize_uri to enforce a specific level, see [RFC9470](https://www.rfc-editor.org/rfc/rfc9470.html)
|
|
98
|
+
| acr_values | Authentication Class Reference (ACR) values to be passed to the authorize_uri to enforce a specific level, see [RFC9470](https://www.rfc-editor.org/rfc/rfc9470.html) | no | nil | "c1 c2" |
|
|
99
99
|
|
|
100
100
|
### Client Config Options
|
|
101
101
|
|
|
@@ -109,6 +109,7 @@ These are the configuration options for the client_options hash of the configura
|
|
|
109
109
|
| scheme | The http scheme to use | https | |
|
|
110
110
|
| host | The host of the authorization server | nil | |
|
|
111
111
|
| port | The port for the authorization server | 443 | |
|
|
112
|
+
| audience | The intended consumer (`aud` field) of the id_token | nil | |
|
|
112
113
|
| authorization_endpoint | The authorize endpoint on the authorization server | /authorize | yes |
|
|
113
114
|
| token_endpoint | The token endpoint on the authorization server | /token | yes |
|
|
114
115
|
| userinfo_endpoint | The user info endpoint on the authorization server | /userinfo | yes |
|
|
@@ -28,6 +28,7 @@ module OmniAuth
|
|
|
28
28
|
scheme: 'https',
|
|
29
29
|
host: nil,
|
|
30
30
|
port: 443,
|
|
31
|
+
audience: nil,
|
|
31
32
|
authorization_endpoint: '/authorize',
|
|
32
33
|
token_endpoint: '/token',
|
|
33
34
|
userinfo_endpoint: '/userinfo',
|
|
@@ -470,9 +471,14 @@ module OmniAuth
|
|
|
470
471
|
def verify_id_token!(id_token)
|
|
471
472
|
return unless id_token
|
|
472
473
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
474
|
+
verify_kwargs = {
|
|
475
|
+
issuer: options.issuer,
|
|
476
|
+
client_id: client_options.identifier,
|
|
477
|
+
nonce: stored_nonce.presence || params['nonce'].presence,
|
|
478
|
+
}
|
|
479
|
+
verify_kwargs.merge!(audience: client_options.audience) if client_options.audience
|
|
480
|
+
|
|
481
|
+
decode_id_token(id_token).verify!(**verify_kwargs)
|
|
476
482
|
end
|
|
477
483
|
|
|
478
484
|
class CallbackError < StandardError
|
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
|
|
30
30
|
spec.add_dependency 'omniauth', '>= 1.9', '< 3'
|
|
31
31
|
spec.add_dependency 'openid_connect', '~> 2.2'
|
|
32
|
+
spec.add_dependency 'ostruct', '~> 0.6.3'
|
|
32
33
|
spec.add_development_dependency 'faker', '~> 2.0'
|
|
33
34
|
spec.add_development_dependency 'guard', '~> 2.14'
|
|
34
35
|
spec.add_development_dependency 'guard-bundler', '~> 2.2'
|
|
@@ -248,6 +248,27 @@ module OmniAuth
|
|
|
248
248
|
strategy.callback_phase
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
+
def test_callback_phase_with_audience
|
|
252
|
+
state = SecureRandom.hex(16)
|
|
253
|
+
strategy.options.response_type = 'id_token'
|
|
254
|
+
strategy.options.issuer = 'example.com'
|
|
255
|
+
strategy.options.client_options.audience = 'my_audience'
|
|
256
|
+
|
|
257
|
+
id_token = stub('OpenIDConnect::ResponseObject::IdToken')
|
|
258
|
+
id_token.expects(:verify!).with(issuer: strategy.options.issuer, client_id: @identifier, audience: 'my_audience',
|
|
259
|
+
nonce: nonce).returns(true)
|
|
260
|
+
id_token.stubs(:raw_attributes, :to_h).returns(payload)
|
|
261
|
+
|
|
262
|
+
request.stubs(:params).returns('state' => state, 'nounce' => nonce, 'id_token' => id_token)
|
|
263
|
+
request.stubs(:path).returns('')
|
|
264
|
+
|
|
265
|
+
strategy.stubs(:decode_id_token).returns(id_token)
|
|
266
|
+
strategy.stubs(:stored_state).returns(state)
|
|
267
|
+
|
|
268
|
+
strategy.call!('rack.session' => { 'omniauth.state' => state, 'omniauth.nonce' => nonce })
|
|
269
|
+
strategy.callback_phase
|
|
270
|
+
end
|
|
271
|
+
|
|
251
272
|
def test_callback_phase_with_id_token_and_param_provided_nonce # rubocop:disable Metrics/AbcSize
|
|
252
273
|
code = SecureRandom.hex(16)
|
|
253
274
|
state = SecureRandom.hex(16)
|
|
@@ -280,6 +301,65 @@ module OmniAuth
|
|
|
280
301
|
strategy.callback_phase
|
|
281
302
|
end
|
|
282
303
|
|
|
304
|
+
def test_callback_phase_with_id_token_rejects_param_nonce_when_session_has_nonce
|
|
305
|
+
state = SecureRandom.hex(16)
|
|
306
|
+
request.stubs(:params).returns('id_token' => jwt.to_s, 'state' => state, 'nonce' => nonce)
|
|
307
|
+
request.stubs(:path).returns('')
|
|
308
|
+
|
|
309
|
+
strategy.options.issuer = issuer
|
|
310
|
+
strategy.options.client_signing_alg = :RS256
|
|
311
|
+
strategy.options.client_jwk_signing_key = jwks.to_json
|
|
312
|
+
strategy.options.response_type = 'id_token'
|
|
313
|
+
|
|
314
|
+
strategy.call!('rack.session' => { 'omniauth.state' => state, 'omniauth.nonce' => SecureRandom.hex(16) })
|
|
315
|
+
|
|
316
|
+
assert_raises ::OpenIDConnect::ResponseObject::IdToken::InvalidNonce do
|
|
317
|
+
strategy.callback_phase
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
def test_callback_phase_with_code_rejects_param_nonce_when_session_has_nonce
|
|
322
|
+
state = SecureRandom.hex(16)
|
|
323
|
+
request.stubs(:params).returns('code' => SecureRandom.hex(16), 'state' => state, 'nonce' => nonce)
|
|
324
|
+
request.stubs(:path).returns('')
|
|
325
|
+
|
|
326
|
+
strategy.options.issuer = issuer
|
|
327
|
+
strategy.options.client_signing_alg = :RS256
|
|
328
|
+
strategy.options.client_jwk_signing_key = jwks.to_json
|
|
329
|
+
strategy.options.response_type = 'code'
|
|
330
|
+
strategy.stubs(:discover!)
|
|
331
|
+
|
|
332
|
+
access_token = stub('OpenIDConnect::AccessToken')
|
|
333
|
+
access_token.stubs(:access_token)
|
|
334
|
+
access_token.stubs(:refresh_token)
|
|
335
|
+
access_token.stubs(:expires_in)
|
|
336
|
+
access_token.stubs(:scope)
|
|
337
|
+
access_token.stubs(:id_token).returns(jwt.to_s)
|
|
338
|
+
client.stubs(:access_token!).returns(access_token)
|
|
339
|
+
|
|
340
|
+
strategy.call!('rack.session' => { 'omniauth.state' => state, 'omniauth.nonce' => SecureRandom.hex(16) })
|
|
341
|
+
|
|
342
|
+
assert_raises ::OpenIDConnect::ResponseObject::IdToken::InvalidNonce do
|
|
343
|
+
strategy.callback_phase
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
def test_callback_phase_with_id_token_accepts_param_nonce_without_session
|
|
348
|
+
request.stubs(:params).returns('id_token' => jwt.to_s, 'nonce' => nonce)
|
|
349
|
+
request.stubs(:path).returns('')
|
|
350
|
+
|
|
351
|
+
strategy.options.issuer = issuer
|
|
352
|
+
strategy.options.client_signing_alg = :RS256
|
|
353
|
+
strategy.options.client_jwk_signing_key = jwks.to_json
|
|
354
|
+
strategy.options.response_type = 'id_token'
|
|
355
|
+
strategy.options.send_state = false
|
|
356
|
+
|
|
357
|
+
strategy.call!('rack.session' => {})
|
|
358
|
+
strategy.callback_phase
|
|
359
|
+
|
|
360
|
+
assert_equal payload[:sub], strategy.env['omniauth.auth']['uid']
|
|
361
|
+
end
|
|
362
|
+
|
|
283
363
|
def test_callback_phase_with_id_token_no_kid
|
|
284
364
|
other_rsa_private = OpenSSL::PKey::RSA.generate(2048)
|
|
285
365
|
|
|
@@ -922,8 +1002,8 @@ module OmniAuth
|
|
|
922
1002
|
# test pkce disabled
|
|
923
1003
|
strategy.options.pkce = false
|
|
924
1004
|
|
|
925
|
-
assert(
|
|
926
|
-
assert(
|
|
1005
|
+
assert(strategy.authorize_uri !~ /code_challenge=/, 'URI must not contain code challenge param')
|
|
1006
|
+
assert(strategy.authorize_uri !~ /code_challenge_method=/, 'URI must not contain code challenge method param')
|
|
927
1007
|
|
|
928
1008
|
# test pkce enabled with default opts
|
|
929
1009
|
strategy.options.pkce = true
|
metadata
CHANGED
|
@@ -1,262 +1,305 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth_openid_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- John Bohn
|
|
8
|
-
- Ilya Shcherbinin
|
|
9
|
-
autorequire:
|
|
7
|
+
- John Bohn
|
|
8
|
+
- Ilya Shcherbinin
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
|
-
- !ruby/object:Gem::Dependency
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- !ruby/object:Gem::
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
- !ruby/object:Gem::Dependency
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
- !ruby/object:Gem::
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
- !ruby/object:Gem::
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: omniauth
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
-
|
|
18
|
+
- ">="
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: "1.9"
|
|
21
|
+
-
|
|
22
|
+
- "<"
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: "3"
|
|
25
|
+
type: :runtime
|
|
26
|
+
prerelease: false
|
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
28
|
+
requirements:
|
|
29
|
+
-
|
|
30
|
+
- ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: "1.9"
|
|
33
|
+
-
|
|
34
|
+
- "<"
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: "3"
|
|
37
|
+
- !ruby/object:Gem::Dependency
|
|
38
|
+
name: openid_connect
|
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
-
|
|
42
|
+
- ~>
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: "2.2"
|
|
45
|
+
type: :runtime
|
|
46
|
+
prerelease: false
|
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
48
|
+
requirements:
|
|
49
|
+
-
|
|
50
|
+
- ~>
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: "2.2"
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: ostruct
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
-
|
|
58
|
+
- ~>
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 0.6.3
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
-
|
|
66
|
+
- ~>
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 0.6.3
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: faker
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
-
|
|
74
|
+
- ~>
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: "2.0"
|
|
77
|
+
type: :development
|
|
78
|
+
prerelease: false
|
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
-
|
|
82
|
+
- ~>
|
|
83
|
+
- !ruby/object:Gem::Version
|
|
84
|
+
version: "2.0"
|
|
85
|
+
- !ruby/object:Gem::Dependency
|
|
86
|
+
name: guard
|
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
|
88
|
+
requirements:
|
|
89
|
+
-
|
|
90
|
+
- ~>
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: "2.14"
|
|
93
|
+
type: :development
|
|
94
|
+
prerelease: false
|
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
96
|
+
requirements:
|
|
97
|
+
-
|
|
98
|
+
- ~>
|
|
99
|
+
- !ruby/object:Gem::Version
|
|
100
|
+
version: "2.14"
|
|
101
|
+
- !ruby/object:Gem::Dependency
|
|
102
|
+
name: guard-bundler
|
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
|
104
|
+
requirements:
|
|
105
|
+
-
|
|
106
|
+
- ~>
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: "2.2"
|
|
109
|
+
type: :development
|
|
110
|
+
prerelease: false
|
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
-
|
|
114
|
+
- ~>
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: "2.2"
|
|
117
|
+
- !ruby/object:Gem::Dependency
|
|
118
|
+
name: guard-minitest
|
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
-
|
|
122
|
+
- ~>
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: "2.4"
|
|
125
|
+
type: :development
|
|
126
|
+
prerelease: false
|
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
-
|
|
130
|
+
- ~>
|
|
131
|
+
- !ruby/object:Gem::Version
|
|
132
|
+
version: "2.4"
|
|
133
|
+
- !ruby/object:Gem::Dependency
|
|
134
|
+
name: minitest
|
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
|
136
|
+
requirements:
|
|
137
|
+
-
|
|
138
|
+
- ~>
|
|
139
|
+
- !ruby/object:Gem::Version
|
|
140
|
+
version: "5.20"
|
|
141
|
+
type: :development
|
|
142
|
+
prerelease: false
|
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
144
|
+
requirements:
|
|
145
|
+
-
|
|
146
|
+
- ~>
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: "5.20"
|
|
149
|
+
- !ruby/object:Gem::Dependency
|
|
150
|
+
name: mocha
|
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
-
|
|
154
|
+
- ~>
|
|
155
|
+
- !ruby/object:Gem::Version
|
|
156
|
+
version: "2.1"
|
|
157
|
+
type: :development
|
|
158
|
+
prerelease: false
|
|
159
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
160
|
+
requirements:
|
|
161
|
+
-
|
|
162
|
+
- ~>
|
|
163
|
+
- !ruby/object:Gem::Version
|
|
164
|
+
version: "2.1"
|
|
165
|
+
- !ruby/object:Gem::Dependency
|
|
166
|
+
name: rake
|
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
|
168
|
+
requirements:
|
|
169
|
+
-
|
|
170
|
+
- ~>
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: "12.0"
|
|
173
|
+
type: :development
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
-
|
|
178
|
+
- ~>
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: "12.0"
|
|
181
|
+
- !ruby/object:Gem::Dependency
|
|
182
|
+
name: rubocop
|
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
|
184
|
+
requirements:
|
|
185
|
+
-
|
|
186
|
+
- ~>
|
|
187
|
+
- !ruby/object:Gem::Version
|
|
188
|
+
version: "1.12"
|
|
189
|
+
type: :development
|
|
190
|
+
prerelease: false
|
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
-
|
|
194
|
+
- ~>
|
|
195
|
+
- !ruby/object:Gem::Version
|
|
196
|
+
version: "1.12"
|
|
197
|
+
- !ruby/object:Gem::Dependency
|
|
198
|
+
name: simplecov
|
|
199
|
+
requirement: !ruby/object:Gem::Requirement
|
|
200
|
+
requirements:
|
|
201
|
+
-
|
|
202
|
+
- ~>
|
|
203
|
+
- !ruby/object:Gem::Version
|
|
204
|
+
version: "0.21"
|
|
205
|
+
type: :development
|
|
206
|
+
prerelease: false
|
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
208
|
+
requirements:
|
|
209
|
+
-
|
|
210
|
+
- ~>
|
|
211
|
+
- !ruby/object:Gem::Version
|
|
212
|
+
version: "0.21"
|
|
213
|
+
- !ruby/object:Gem::Dependency
|
|
214
|
+
name: simplecov-lcov
|
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
|
216
|
+
requirements:
|
|
217
|
+
-
|
|
218
|
+
- ~>
|
|
219
|
+
- !ruby/object:Gem::Version
|
|
220
|
+
version: "0.8"
|
|
221
|
+
type: :development
|
|
222
|
+
prerelease: false
|
|
223
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
224
|
+
requirements:
|
|
225
|
+
-
|
|
226
|
+
- ~>
|
|
227
|
+
- !ruby/object:Gem::Version
|
|
228
|
+
version: "0.8"
|
|
229
|
+
- !ruby/object:Gem::Dependency
|
|
230
|
+
name: webmock
|
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
|
232
|
+
requirements:
|
|
233
|
+
-
|
|
234
|
+
- ~>
|
|
235
|
+
- !ruby/object:Gem::Version
|
|
236
|
+
version: "3.18"
|
|
237
|
+
type: :development
|
|
238
|
+
prerelease: false
|
|
239
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
240
|
+
requirements:
|
|
241
|
+
-
|
|
242
|
+
- ~>
|
|
243
|
+
- !ruby/object:Gem::Version
|
|
244
|
+
version: "3.18"
|
|
202
245
|
description: OpenID Connect Strategy for OmniAuth.
|
|
203
246
|
email:
|
|
204
|
-
- jjbohn@gmail.com
|
|
205
|
-
- m0n9oose@gmail.com
|
|
247
|
+
- jjbohn@gmail.com
|
|
248
|
+
- m0n9oose@gmail.com
|
|
206
249
|
executables: []
|
|
207
250
|
extensions: []
|
|
208
251
|
extra_rdoc_files: []
|
|
209
252
|
files:
|
|
210
|
-
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
- CHANGELOG.md
|
|
215
|
-
- Gemfile
|
|
216
|
-
- Guardfile
|
|
217
|
-
- LICENSE.txt
|
|
218
|
-
- README.md
|
|
219
|
-
- Rakefile
|
|
220
|
-
- lib/omniauth/openid_connect.rb
|
|
221
|
-
- lib/omniauth/openid_connect/errors.rb
|
|
222
|
-
- lib/omniauth/openid_connect/version.rb
|
|
223
|
-
- lib/omniauth/strategies/openid_connect.rb
|
|
224
|
-
- lib/omniauth_openid_connect.rb
|
|
225
|
-
- omniauth_openid_connect.gemspec
|
|
226
|
-
- test/fixtures/test.crt
|
|
227
|
-
- test/lib/omniauth/strategies/openid_connect_test.rb
|
|
228
|
-
- test/strategy_test_case.rb
|
|
229
|
-
- test/test_helper.rb
|
|
230
|
-
homepage: https://github.com/omniauth/omniauth_openid_connect
|
|
253
|
+
- .github/stale.yml
|
|
254
|
+
- .github/workflows/main.yml
|
|
255
|
+
- .gitignore
|
|
256
|
+
- .rubocop.yml
|
|
257
|
+
- CHANGELOG.md
|
|
258
|
+
- Gemfile
|
|
259
|
+
- Guardfile
|
|
260
|
+
- LICENSE.txt
|
|
261
|
+
- README.md
|
|
262
|
+
- Rakefile
|
|
263
|
+
- lib/omniauth/openid_connect.rb
|
|
264
|
+
- lib/omniauth/openid_connect/errors.rb
|
|
265
|
+
- lib/omniauth/openid_connect/version.rb
|
|
266
|
+
- lib/omniauth/strategies/openid_connect.rb
|
|
267
|
+
- lib/omniauth_openid_connect.rb
|
|
268
|
+
- omniauth_openid_connect.gemspec
|
|
269
|
+
- test/fixtures/test.crt
|
|
270
|
+
- test/lib/omniauth/strategies/openid_connect_test.rb
|
|
271
|
+
- test/strategy_test_case.rb
|
|
272
|
+
- test/test_helper.rb
|
|
273
|
+
homepage: "https://github.com/omniauth/omniauth_openid_connect"
|
|
231
274
|
licenses:
|
|
232
|
-
- MIT
|
|
275
|
+
- MIT
|
|
233
276
|
metadata:
|
|
234
|
-
bug_tracker_uri: https://github.com/omniauth/omniauth_openid_connect/issues
|
|
235
|
-
changelog_uri: https://github.com/omniauth/omniauth_openid_connect/releases
|
|
236
|
-
documentation_uri: https://github.com/omniauth/omniauth_openid_connect/tree/v0.8.
|
|
237
|
-
source_code_uri: https://github.com/omniauth/omniauth_openid_connect/tree/v0.8.
|
|
238
|
-
rubygems_mfa_required:
|
|
239
|
-
post_install_message:
|
|
277
|
+
bug_tracker_uri: "https://github.com/omniauth/omniauth_openid_connect/issues"
|
|
278
|
+
changelog_uri: "https://github.com/omniauth/omniauth_openid_connect/releases"
|
|
279
|
+
documentation_uri: "https://github.com/omniauth/omniauth_openid_connect/tree/v0.8.1#readme"
|
|
280
|
+
source_code_uri: "https://github.com/omniauth/omniauth_openid_connect/tree/v0.8.1"
|
|
281
|
+
rubygems_mfa_required: "true"
|
|
240
282
|
rdoc_options: []
|
|
241
283
|
require_paths:
|
|
242
|
-
- lib
|
|
284
|
+
- lib
|
|
243
285
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
286
|
requirements:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
287
|
+
-
|
|
288
|
+
- ">="
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: "0"
|
|
248
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
292
|
requirements:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
293
|
+
-
|
|
294
|
+
- ">="
|
|
295
|
+
- !ruby/object:Gem::Version
|
|
296
|
+
version: "0"
|
|
253
297
|
requirements: []
|
|
254
|
-
rubygems_version:
|
|
255
|
-
signing_key:
|
|
298
|
+
rubygems_version: 4.1.1
|
|
256
299
|
specification_version: 4
|
|
257
300
|
summary: OpenID Connect Strategy for OmniAuth
|
|
258
301
|
test_files:
|
|
259
|
-
- test/fixtures/test.crt
|
|
260
|
-
- test/lib/omniauth/strategies/openid_connect_test.rb
|
|
261
|
-
- test/strategy_test_case.rb
|
|
262
|
-
- test/test_helper.rb
|
|
302
|
+
- test/fixtures/test.crt
|
|
303
|
+
- test/lib/omniauth/strategies/openid_connect_test.rb
|
|
304
|
+
- test/strategy_test_case.rb
|
|
305
|
+
- test/test_helper.rb
|