Skip to content

Commit 2f0ad68

Browse files
committed
adding example config files for new micro services
1 parent db3f692 commit 2f0ad68

5 files changed

+58
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module: satosa.micro_services.custom_routing.DecideIfRequesterIsAllowed
2+
name: RequesterDecider
3+
config:
4+
rules:
5+
target_entity_id1:
6+
allow: ["requester1", "requester2"]
7+
target_entity_id2:
8+
deny: ["requester3"]
9+
target_entity_id3:
10+
allow: ["requester1"]
11+
deny: ["*"]

example/plugins/microservices/filter_requester.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ config:
55
- https://sp1.test.wpv.portalverbund.at/sp.xml
66
- https://sp3.test.wpv.portalverbund.at/sp.xml
77
- https://sp4.test.wpv.portalverbund.at/sp.xml
8-
- https://useradmin-core.austrian-standards.at/saml/metadata/alias/austrian-standards-core-wpv
9-
module: satosa.micro_services.filter_requester
8+
module: satosa.micro_services.filter_requester.FilterRequester
109
name: FilterRequester
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module: satosa.micro_services.redirect_url.RedirectUrlRequest
2+
name: RedirectUrlRequest
3+
config:
4+
db_encryption_key: "WQpuhOELqGAs/ct2mujCqw"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module: satosa.micro_services.redirect_url.RedirectUrlResponse
2+
name: RedirectUrlResponse
3+
config:
4+
db_encryption_key: "WQpuhOELqGAs/ct2mujCqw" # must be same in redirect_url_request.yaml
5+
redirect_attr_name: WkisRedirect
6+
redir_entityid: http://wkis.qss.wko.at/adfs/services/trust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# this file contains secret keys. Protect file or insert values from environment
2+
3+
module: satosa.micro_services.simpleconsent.SimpleConsent
4+
name: SimpleConsent
5+
config:
6+
consent_cookie_name: SATOSA_CONSENTID
7+
consent_attr_not_displayed:
8+
- addr_country
9+
- authenticationClass
10+
- possibleroles
11+
- registrationClassOrg
12+
- registrationClassUser
13+
- wkis_roleextendeddescription
14+
- wkis_roletypeid
15+
consent_attrname_display:
16+
uid: UserID
17+
displayname: Anzeigename
18+
givenname: Vorname
19+
gln: "GLN der Firma"
20+
mail: E-Mailadresse
21+
name: Vor+Familienname
22+
surname: Familienname
23+
wkis_roledescription: "WKO Mitglied"
24+
consent_service_api_auth:
25+
userid: admin
26+
password: adminadmin
27+
id_hash_alg: md5 # md5 is shorter than sha-224, but may be missing in (rare) FIPS-compliant C-Python
28+
# shard secret: configure same ASCII-value in proxy and consent app
29+
PROXY_HMAC_KEY: "your random key (-> `openssh rand -base64 30`)"
30+
request_consent_url: https://consent.example.org/request_consent
31+
self_entityid: satosa.vnet/idp_proxy.xml
32+
# consent display page: translate SP entityIDs to human readable names
33+
# (work around, as metadata is not available in the micro service)
34+
sp_entityid_names:
35+
https://sp1.test.wpv.portalverbund.at/sp.xml: "Test SP1"
36+
verify_consent_url: https://consent.example.org/has_consent

0 commit comments

Comments
 (0)