Hi all, I have noticed an issue with my configurat...
# talk-oathkeeper
m
Hi all, I have noticed an issue with my configuration that was previously working. I configure the id_token mutator issuer_url based on the Extra.sub object
Copy code
id_token:
  enabled: true
  config:
    issuer_url: {{ print .Extra.sub }}
    jwks_url: file:///opt/keys/id-token.json
    ttl: 30s
However, since I have updated my oauthkeeper image to version v0.38.24-beta.1 I get the following error when I apply my configuration
Copy code
Error: failed to parse 03-oathkeeper-values.yaml: error converting YAML to JSON: yaml: invalid map key: map[interface {}]interface {}{"print .Extra.sub":interface {}(nil)}
any idea what I need to do to fix this? @User
m
Which version where you using before v0.38.24-beta.1 ?
m
Unfortunately, I have not specified a version before, so I’m not 100% sure which version I was using.
m
But it was working without problems before? Anyway these are AFAIK the only breaking. changes we had recently:https://github.com/ory/oathkeeper/blob/master/CHANGELOG.md#breaking-changes
m
Yes, I just checked my git repo, and I was using this configuration since March without any issues. In the beginning of April I redeployed oathkeeper with version v0.38.24-beta.1 and currently also v0.38.25-beta.1, using helm. Since then I get the mentioned error message. For me the question is what do I need to change in the issuer_url: {{ print .Extra.sub }} line to fix this? As the error suggests this is some kind of conversion issue between YAML and JSON.
m
I am not sure either at the moment, maybe @User can see the issue right away.