AI doesn't know whats up here... I've moved the oa...
# ory-selfhosting
b
AI doesn't know whats up here... I've moved the oathkeeper config from yml to env vars. and Oathkeeper is having trouble with just the following set of config
Copy code
MUTATORS_HEADER_ENABLED="true"
MUTATORS_HEADER_CONFIG_HEADERS_X-USER="{{ print .Subject }}"
Copy code
The configuration contains values or keys which are invalid:
mutators.header: map[enabled:true]
                 ^-- oneOf failed

The configuration contains values or keys which are invalid:
mutators.header.config: <nil>
                        ^-- one or more required properties are missing

The configuration contains values or keys which are invalid:
mutators.header.enabled: true
                         ^-- value must be false
it seems
MUTATORS_HEADER_CONFIG_HEADERS_X-USER="{{ print .Subject }}"
is the issue
future reader.
Copy code
MUTATORS_HEADER_CONFIG_HEADERS='{"id":"foo"}'
seems to work