mumukit-login 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/login/provider/saml.rb +5 -4
- data/lib/mumukit/login/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7530d9d84df19d05fc09759c1f06d4cf4f12317
|
4
|
+
data.tar.gz: 2acd133393c1cb0aac0eab7c56bafc74b9d70b16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91a7b5dd36bc4f84344fb5b8cb64374e63fef926648bc4fa562fd5d3e4c74fa6caff00db30f59451fe7d4db70a7720de8ee6a4b335ad5a352d1c9c77bee567fd
|
7
|
+
data.tar.gz: 4f961da14995bd77c4e891e0660fc4591498c878e96ce7bcdda020c3f57ca881acae2007066774b3e64744c1e106492181039d0d7522c9449dbbefa5b441b6f6
|
@@ -15,6 +15,7 @@ class Mumukit::Login::Provider::Saml < Mumukit::Login::Provider::Base
|
|
15
15
|
idp_slo_target_url: saml_config.idp_slo_target_url,
|
16
16
|
slo_default_relay_state: saml_config.base_url,
|
17
17
|
idp_cert: File.read('./saml.crt'),
|
18
|
+
private_key: File.read('./saml.pem'),
|
18
19
|
attribute_service_name: 'Mumuki',
|
19
20
|
request_attributes: [
|
20
21
|
{name: 'email', name_format: 'urn:oasis:names:tc:SAML:2.0:attrname-format:basic', friendly_name: 'Email address'},
|
@@ -22,9 +23,9 @@ class Mumukit::Login::Provider::Saml < Mumukit::Login::Provider::Base
|
|
22
23
|
{name: 'image', name_format: 'urn:oasis:names:tc:SAML:2.0:attrname-format:basic', friendly_name: 'Avatar image'}
|
23
24
|
],
|
24
25
|
attribute_statements: {
|
25
|
-
name: [saml_config.
|
26
|
-
email: [saml_config.
|
27
|
-
image: [saml_config.
|
26
|
+
name: [saml_config.translation_name],
|
27
|
+
email: [saml_config.translation_email],
|
28
|
+
image: [saml_config.translation_image]
|
28
29
|
}
|
29
30
|
end
|
30
31
|
|
@@ -36,4 +37,4 @@ class Mumukit::Login::Provider::Saml < Mumukit::Login::Provider::Base
|
|
36
37
|
def logout_redirection_path
|
37
38
|
"#{auth_path}/spslo"
|
38
39
|
end
|
39
|
-
end
|
40
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|