Are rules settings/config limited to being a string?

Rules settings/configs can be uploaded as files containing JSON where the “value” attribute becomes the value of attribute on the configuration object with the same name as the filename. Great.

My question is - can “value” ever be something other than a string? If we wanted to push up some more complex JSON as the “value”, would that be supported?

Hi @rafi-teq,

Welcome to the Auth0 Community!

I understand that you’d like to know if the Rule Configuration object value supports other data types.

First, I’d like to emphasize that the Rule Configuration is used as a Key-Value pair. Meaning that there is only one value associated with one key.

Moreover, the Rules configuration object uses strings and is the only data type supported to set the Key-Value pair in your Rule Configuration object.

Please let me know if there are any other questions or concerns.

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.