This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix indention in generated config file (#7300)
Also adjust sample_config.yaml Signed-off-by: Lars Franke <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix sample SAML Service Provider configuration. Contributed by @frcl. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1339,32 +1339,32 @@ saml2_config: | |
# remote: | ||
# - url: https://our_idp/metadata.xml | ||
# | ||
# # By default, the user has to go to our login page first. If you'd like | ||
# # to allow IdP-initiated login, set 'allow_unsolicited: true' in a | ||
# # 'service.sp' section: | ||
# # | ||
# #service: | ||
# # sp: | ||
# # allow_unsolicited: true | ||
# | ||
# # The examples below are just used to generate our metadata xml, and you | ||
# # may well not need them, depending on your setup. Alternatively you | ||
# # may need a whole lot more detail - see the pysaml2 docs! | ||
# | ||
# description: ["My awesome SP", "en"] | ||
# name: ["Test SP", "en"] | ||
# | ||
# organization: | ||
# name: Example com | ||
# display_name: | ||
# - ["Example co", "en"] | ||
# url: "http://example.com" | ||
# | ||
# contact_person: | ||
# - given_name: Bob | ||
# sur_name: "the Sysadmin" | ||
# email_address": ["[email protected]"] | ||
# contact_type": technical | ||
# # By default, the user has to go to our login page first. If you'd like | ||
# # to allow IdP-initiated login, set 'allow_unsolicited: true' in a | ||
# # 'service.sp' section: | ||
# # | ||
# #service: | ||
# # sp: | ||
# # allow_unsolicited: true | ||
# | ||
# # The examples below are just used to generate our metadata xml, and you | ||
# # may well not need them, depending on your setup. Alternatively you | ||
# # may need a whole lot more detail - see the pysaml2 docs! | ||
# | ||
# description: ["My awesome SP", "en"] | ||
# name: ["Test SP", "en"] | ||
# | ||
# organization: | ||
# name: Example com | ||
# display_name: | ||
# - ["Example co", "en"] | ||
# url: "http://example.com" | ||
# | ||
# contact_person: | ||
# - given_name: Bob | ||
# sur_name: "the Sysadmin" | ||
# email_address": ["[email protected]"] | ||
# contact_type": technical | ||
|
||
# Instead of putting the config inline as above, you can specify a | ||
# separate pysaml2 configuration file: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,32 +248,32 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs): | |
# remote: | ||
# - url: https://our_idp/metadata.xml | ||
# | ||
# # By default, the user has to go to our login page first. If you'd like | ||
# # to allow IdP-initiated login, set 'allow_unsolicited: true' in a | ||
# # 'service.sp' section: | ||
# # | ||
# #service: | ||
# # sp: | ||
# # allow_unsolicited: true | ||
# # By default, the user has to go to our login page first. If you'd like | ||
# # to allow IdP-initiated login, set 'allow_unsolicited: true' in a | ||
# # 'service.sp' section: | ||
# # | ||
# #service: | ||
# # sp: | ||
# # allow_unsolicited: true | ||
# | ||
# # The examples below are just used to generate our metadata xml, and you | ||
# # may well not need them, depending on your setup. Alternatively you | ||
# # may need a whole lot more detail - see the pysaml2 docs! | ||
# # The examples below are just used to generate our metadata xml, and you | ||
# # may well not need them, depending on your setup. Alternatively you | ||
# # may need a whole lot more detail - see the pysaml2 docs! | ||
# | ||
# description: ["My awesome SP", "en"] | ||
# name: ["Test SP", "en"] | ||
# description: ["My awesome SP", "en"] | ||
# name: ["Test SP", "en"] | ||
# | ||
# organization: | ||
# name: Example com | ||
# display_name: | ||
# - ["Example co", "en"] | ||
# url: "http://example.com" | ||
# organization: | ||
# name: Example com | ||
# display_name: | ||
# - ["Example co", "en"] | ||
# url: "http://example.com" | ||
# | ||
# contact_person: | ||
# - given_name: Bob | ||
# sur_name: "the Sysadmin" | ||
# email_address": ["[email protected]"] | ||
# contact_type": technical | ||
# contact_person: | ||
# - given_name: Bob | ||
# sur_name: "the Sysadmin" | ||
# email_address": ["[email protected]"] | ||
# contact_type": technical | ||
# Instead of putting the config inline as above, you can specify a | ||
# separate pysaml2 configuration file: | ||
|