Closed natalian98 closed 6 months ago
why are we not allowing completely custom headers via a config parameter in the charm?
this works, but the headers are vetted by us instead of being fully custom
If this was a config option, the end user wouldn't necessarily know how to map the the headers with kratos claims.
You can specify which ones should be returned with the headers
parameter (see here)
This PR adds support for new custom headers:
X-Name
andX-Email
. They are mapped with kratosidentity.traits
claims.