Skip to content

Commit b3aeb44

Browse files
committed
Remove checks related to identity schema
Signed-off-by: Federico Busetti <[email protected]>
1 parent 80c9f14 commit b3aeb44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

auth_volumes/oathkeeper/oathkeeper.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,8 @@ mutators:
9696
jwks_url: file:///etc/config/oathkeeper/id_token.jwks.json
9797
claims: |
9898
{
99-
{{ if eq .Extra.identity.schema_id "staff" }}
10099
{{ if .MatchContext.Header.Get "x-impersonate" }}
101100
"impersonate": {{ .MatchContext.Header.Get "x-impersonate" | toJson }},
102101
{{ end }}
103-
{{ end }}
104102
"session": {{ .Extra | toJson }}
105103
}

0 commit comments

Comments
 (0)