Skip to content

Commit f9de8b0

Browse files
committed
Fix uid and sHO
1 parent 440a24c commit f9de8b0

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

roles/midproxy/files/internal_attributes.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ attributes:
22
displayname:
33
openid: [name]
44
saml: [displayName]
5-
edupersontargetedid:
6-
openid: [sub]
7-
saml: [eduPersonTargetedID]
85
givenname:
96
openid: [given_name]
107
saml: [givenName]
@@ -23,5 +20,3 @@ attributes:
2320
schachomeorganization:
2421
openid: [schac_home_organization]
2522
saml: [schacHomeOrganization]
26-
user_id_from_attrs: [edupersontargetedid]
27-
user_id_to_attr: edupersontargetedid
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module: satosa.micro_services.attribute_processor.AttributeProcessor
2+
name: RegexAttributeProcessor
3+
config:
4+
process:
5+
- attribute: uid
6+
processors:
7+
- name: RegexSubProcessor
8+
module: satosa.micro_services.processors.regex_sub_processor
9+
regex_sub_match_pattern: ^(.+)@.+$
10+
regex_sub_replace_pattern: \1

roles/midproxy/files/plugins/microservices/static_attributes.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

roles/midproxy/files/proxy_conf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ FRONTEND_MODULES:
1919

2020
MICRO_SERVICES:
2121
- "plugins/microservices/generate_attributes.yaml"
22+
- "plugins/microservices/regex_attributes.yaml"
2223

2324
LOGGING:
2425
version: 1

0 commit comments

Comments
 (0)