test_openid_connect 0.1.9 → 0.1.10
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 +11 -11
- 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: d30f9314ceaddc64f96e763cefc5b99d772a8ff1ea8c6881948343d0bb5558cf
|
4
|
+
data.tar.gz: c5505502afdade1fd8077ee9395b845c15a69bb9b17efa5b58a07432499c1d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 448589919ef909ac0cff158fa02743a878675a776a3f988a586bf4261d9c2519da79d18adde07a93988d480797462b0d4635db11bcfef98a33da931e51ebffce
|
7
|
+
data.tar.gz: f0397dcae62234e04eccaf2278c5c062e7920acf1ab3db2c7321f454b8b8621bd2e67adb0f77aa05b982227813c2262f3d619784b53659335096b8bb5a50b32b
|
@@ -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! if options[:discovery]
|
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|
|
data/test_openid_connect.gemspec
CHANGED