diff --git a/src/lungo_cli/resources/config/oathkeeper/config.yaml.jinja b/src/lungo_cli/resources/config/oathkeeper/config.yaml.jinja index 817493e3..55a25488 100644 --- a/src/lungo_cli/resources/config/oathkeeper/config.yaml.jinja +++ b/src/lungo_cli/resources/config/oathkeeper/config.yaml.jinja @@ -68,7 +68,7 @@ mutators: enabled: true config: headers: - X-Remote-User: {{ '"{{ if .Extra.identity }}{{ .Extra.identity.traits.username }}{{ else }}{{ .Subject }}{{ end }}"' }} + X-Remote-User: '{{ '{{ if .Extra.identity }}{{ .Extra.identity.traits.username }}{{ else }}{{ .Subject }}{{ end }}' }}' errors: handlers: