-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding example config files for new micro services
- Loading branch information
Showing
4 changed files
with
57 additions
and
0 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,11 @@ | ||
module: satosa.micro_services.custom_routing.DecideIfRequesterIsAllowed | ||
name: RequesterDecider | ||
config: | ||
rules: | ||
target_entity_id1: | ||
allow: ["requester1", "requester2"] | ||
target_entity_id2: | ||
deny: ["requester3"] | ||
target_entity_id3: | ||
allow: ["requester1"] | ||
deny: ["*"] |
4 changes: 4 additions & 0 deletions
4
example/plugins/microservices/redirect_url_request.yaml.example
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,4 @@ | ||
module: satosa.micro_services.redirect_url.RedirectUrlRequest | ||
name: RedirectUrlRequest | ||
config: | ||
db_encryption_key: "WQpuhOELqGAs/ct2mujCqw" |
6 changes: 6 additions & 0 deletions
6
example/plugins/microservices/redirect_url_response.yaml.example
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,6 @@ | ||
module: satosa.micro_services.redirect_url.RedirectUrlResponse | ||
name: RedirectUrlResponse | ||
config: | ||
db_encryption_key: "WQpuhOELqGAs/ct2mujCqw" # must be same in redirect_url_request.yaml | ||
redirect_attr_name: WkisRedirect | ||
redir_entityid: http://wkis.qss.wko.at/adfs/services/trust |
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,36 @@ | ||
# this file contains secret keys. Protect file or insert values from environment | ||
|
||
module: satosa.micro_services.simpleconsent.SimpleConsent | ||
name: SimpleConsent | ||
config: | ||
consent_cookie_name: SATOSA_CONSENTID | ||
consent_attr_not_displayed: | ||
- addr_country | ||
- authenticationClass | ||
- possibleroles | ||
- registrationClassOrg | ||
- registrationClassUser | ||
- wkis_roleextendeddescription | ||
- wkis_roletypeid | ||
consent_attrname_display: | ||
uid: UserID | ||
displayname: Anzeigename | ||
givenname: Vorname | ||
gln: "GLN der Firma" | ||
mail: E-Mailadresse | ||
name: Vor+Familienname | ||
surname: Familienname | ||
wkis_roledescription: "WKO Mitglied" | ||
consent_service_api_auth: | ||
userid: admin | ||
password: adminadmin | ||
id_hash_alg: md5 # md5 is shorter than sha-224, but may be missing in (rare) FIPS-compliant C-Python | ||
# shard secret: configure same ASCII-value in proxy and consent app | ||
PROXY_HMAC_KEY: "your random key (-> `openssh rand -base64 30`)" | ||
request_consent_url: https://consent.example.org/request_consent | ||
self_entityid: satosa.vnet/idp_proxy.xml | ||
# consent display page: translate SP entityIDs to human readable names | ||
# (work around, as metadata is not available in the micro service) | ||
sp_entityid_names: | ||
https://sp1.test.wpv.portalverbund.at/sp.xml: "Test SP1" | ||
verify_consent_url: https://consent.example.org/has_consent |