omniauth-authentiq 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c323614903427d91eb0d56b75f1907c9209d5765
|
4
|
+
data.tar.gz: b0dad720d7799dcbe8772cd17ac38d8f36457d34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d7770e2302fb1b19d86d2e80f4869dba3bb0f8f32e52e54d6982d606ff24333b8cb3e7d16f2353cd2acb3ca59343396fde0366c2ac81771ff089a344660ef8
|
7
|
+
data.tar.gz: 9c2f2e24cfab3d7f50cccefec1791bbaceed59071e55750b04d19a177425f45b4385c2f269fa3493e61910f74c60506dc6426cee7799ed3ec6c9c8fe94350ac0
|
@@ -11,8 +11,6 @@ module OmniAuth
|
|
11
11
|
@options = options
|
12
12
|
|
13
13
|
begin
|
14
|
-
# for sign_out_callback.call(*back_channel_logout_request) to execute
|
15
|
-
# a proc must be set in the devise.rb initializer of the rails app
|
16
14
|
result = sign_out_callback.call(*back_channel_logout_request)
|
17
15
|
rescue StandardError => err
|
18
16
|
result = back_channel_logout_response(400, [err.to_s])
|
@@ -69,7 +67,14 @@ module OmniAuth
|
|
69
67
|
end
|
70
68
|
|
71
69
|
def sign_out_callback
|
72
|
-
@options[:
|
70
|
+
if @options.has_key?(:remote_sign_out_handler) && (@options[:remote_sign_out_handler].respond_to? :call)
|
71
|
+
@options[:remote_sign_out_handler]
|
72
|
+
else
|
73
|
+
OmniAuth::logger.send(:warn, 'It look like remote logout is configured on your Authentiq client but \':remote_sign_out_handler\' is not implemented on devise or omniauth')
|
74
|
+
raise 'Remote sign out failed because the client\'s \':remote_sign_out_handler\' is not implemented on devise or omniauth'
|
75
|
+
end
|
76
|
+
|
77
|
+
|
73
78
|
end
|
74
79
|
|
75
80
|
def validate_sid(logout_jwt)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-authentiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandros Keramidas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|