Skip to content

Commit 34c5836

Browse files
Merge pull request #178 from SURFscz/fix-saml-mdui-example
Add UI info SAML Extension example
2 parents f42cff6 + 7b26b34 commit 34c5836

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

example/plugins/backends/saml2_backend.yaml.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,28 @@ config:
1717
accepted_time_diff: 60
1818
service:
1919
sp:
20+
ui_info:
21+
display_name:
22+
- lang: en
23+
text: "SP Display Name"
24+
description:
25+
- lang: en
26+
text: "SP Description"
27+
information_url:
28+
- lang: en
29+
text: "http://sp.information.url/"
30+
privacy_statement_url:
31+
- lang: en
32+
text: "http://sp.privacy.url/"
33+
keywords:
34+
- lang: se
35+
text: ["Satosa", "SP-SE"]
36+
- lang: en
37+
text: ["Satosa", "SP-EN"]
38+
logo:
39+
text: "http://sp.logo.url/"
40+
width: "100"
41+
height: "100"
2042
want_response_signed: true
2143
allow_unsolicited: true
2244
endpoints:

example/plugins/frontends/saml2_frontend.yaml.example

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,28 @@ config:
1818
endpoints:
1919
single_sign_on_service: []
2020
name: Proxy IdP
21+
ui_info:
22+
display_name:
23+
- lang: en
24+
text: "IdP Display Name"
25+
description:
26+
- lang: en
27+
text: "IdP Description"
28+
information_url:
29+
- lang: en
30+
text: "http://idp.information.url/"
31+
privacy_statement_url:
32+
- lang: en
33+
text: "http://idp.privacy.url/"
34+
keywords:
35+
- lang: se
36+
text: ["Satosa", "IdP-SE"]
37+
- lang: en
38+
text: ["Satosa", "IdP-EN"]
39+
logo:
40+
text: "http://idp.logo.url/"
41+
width: "100"
42+
height: "100"
2143
name_id_format: ['urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient']
2244
policy:
2345
default:
@@ -31,4 +53,4 @@ config:
3153

3254
endpoints:
3355
single_sign_on_service: {'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST': sso/post,
34-
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect': sso/redirect}
56+
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect': sso/redirect}

0 commit comments

Comments
 (0)