Custom attributes in oidc_client #12831
Replies: 1 comment
-
|
Fredrik, Thanks for checking out Jans. Both the Person and Client entities have attributes. I think this is referring to custom attributes for the Person Entity. Perhaps @moabu could shed some light on the implementation requirements for this If it is referring to Person entity attributes, as the Also, I wonder if the name of that metadata should be This question might be better moved to a Discussions thread, because it's not clear yet to me that it's a bug. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently looking into the jans_oidc_client and defining them via the terraform provider. More specifically im looking into the custom attributes section in the documentation found here:
https://registry.terraform.io/providers/JanssenProject/jans/1.13.0/docs/resources/oidc_client#nested-schema-for-custom_attributes
Initial experimentation with trying to make use of this has shown unfruitful. Im wondering if I am at all using it as intended?
For instance creating a oidc_client with this custom attribute fails with some marshalling error:
The custom attribute:
custom_attributes { multi_valued = true name = "custom" values = ["ab"] }The error:
Error: post request failed: could not marshal request: json: error calling MarshalJSON for type jans.CustomAttribute: invalid character 'b' in literal true (expecting 'r')
The use case is that i want to be able to make use of this custom attribute from within an update token interception script.
Any advice or pointers?
Beta Was this translation helpful? Give feedback.
All reactions