test_openid_connect 0.1.2 → 0.1.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0783ffeb22a35325496610aaad4b2905643c3de16bf23e1d532005e252085532'
|
4
|
+
data.tar.gz: 312f242cba80448608a5c53c86c56a104f170e12db03050953576b8c63b0059f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da71bb93986bea18b8ba5ac9ad22bec416b34952a5cf019c87202cb289af46a061c9725d72ac4d6d2c31397c065b44d0a1425c62a5f2cfcb3d12095b896c3095
|
7
|
+
data.tar.gz: 1f173ee0d0e05b192f518c75c2b172d01ca3f894000c679a02fb72f2b40adb732f5b1a62e88d3a0593a824503916b66a87131b566d839d3a8fe85fe8d97b148e
|
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
require 'omniauth-oauth2'
|
4
4
|
|
5
|
-
module OmniAuth
|
5
|
+
module ::OmniAuth
|
6
6
|
module OpenIDConnect
|
7
7
|
class DiscoveryError < Error; end
|
8
8
|
end
|
9
9
|
|
10
10
|
module Strategies
|
11
11
|
class OpenIDConnect < OmniAuth::Strategies::OAuth2
|
12
|
+
puts "*/*/*/*/*/*/*/*/*/*/*/*/*/*/"
|
12
13
|
option :scope, "openid"
|
13
14
|
option :discovery, true
|
14
15
|
option :use_userinfo, true
|
@@ -199,9 +200,9 @@ module OmniAuth
|
|
199
200
|
end
|
200
201
|
end
|
201
202
|
|
202
|
-
OmniAuth.config.add_camelization '
|
203
|
+
OmniAuth.config.add_camelization 'oauth2', 'OpenIDConnect'
|
203
204
|
|
204
|
-
module OmniAuth
|
205
|
+
module ::OmniAuth
|
205
206
|
module Strategies
|
206
207
|
autoload :OpenIDConnect, "lib/omniauth/test_openid_connect.rb"
|
207
208
|
end
|
data/test_openid_connect.gemspec
CHANGED