test_openid_connect 0.1.9 → 0.1.13
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/strategies/test_openid_connect.rb +16 -16
- data/test_openid_connect.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75a382d9eb5d4d6c394aacea1ecf5ff695fdf70f63354bf809acf7a6b0e913d2
|
4
|
+
data.tar.gz: 13b70fe28d4f5f57172bbfd152fb385d52b53667ced4ee05f72f497fc58c1d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ae7c7415ee819e9e16515085047f09dc295ba1602b0eaab2636841ea2e4e4ff57ad2fd3d3cc20dd8f15c7df757973cf01eb60a942398a8c9b50b339c86fb35a
|
7
|
+
data.tar.gz: a0109c5f2fee481dc1be3964d4ab00943d55916ee8e003d26e9e1d41ff8222544b01af93c759a68f13d3746bfe163e0ae7ae2ade5476a27d6a003d9b623364f1
|
@@ -54,20 +54,20 @@ module ::OmniAuth
|
|
54
54
|
options.use_userinfo = false if userinfo_endpoint.nil? || userinfo_endpoint.empty?
|
55
55
|
end
|
56
56
|
|
57
|
-
# def request_phase
|
58
|
-
# begin
|
59
|
-
# discover! if options[:discovery]
|
60
|
-
# rescue ::OmniAuth::OpenIDConnect::DiscoveryError => e
|
61
|
-
# fail!(:openid_connect_discovery_error, e)
|
62
|
-
# end
|
63
|
-
|
64
|
-
# super
|
65
|
-
# end
|
66
|
-
|
67
57
|
def request_phase
|
68
|
-
|
58
|
+
begin
|
59
|
+
discover!
|
60
|
+
rescue ::OmniAuth::OpenIDConnect::DiscoveryError => e
|
61
|
+
fail!(:openid_connect_discovery_error, e)
|
62
|
+
end
|
63
|
+
|
64
|
+
super
|
69
65
|
end
|
70
66
|
|
67
|
+
# def request_phase
|
68
|
+
# redirect client.auth_code.authorize_url({:redirect_uri => callback_url}.merge(options.authorize_params))
|
69
|
+
# end
|
70
|
+
|
71
71
|
def authorize_params
|
72
72
|
super.tap do |params|
|
73
73
|
options[:passthrough_authorize_options].each do |k|
|
@@ -206,8 +206,8 @@ end
|
|
206
206
|
|
207
207
|
OmniAuth.config.add_camelization 'oauth2', 'OpenIDConnect'
|
208
208
|
|
209
|
-
module ::OmniAuth
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
end
|
209
|
+
# module ::OmniAuth
|
210
|
+
# module Strategies
|
211
|
+
# autoload :OpenIDConnect, "lib/omniauth/test_openid_connect.rb"
|
212
|
+
# end
|
213
|
+
# end
|
data/test_openid_connect.gemspec
CHANGED