You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
As Auth0 documentation states, there is a "options.validation" (defined
as an object), that can be applied to a Connection. Sadly, there are no specific documented
properties for that.
The use case and the problem
I want to set username min and max length for Auth0 database
connection - that options are available to configure through Auth0 UI.
To configure them through the Management API, I need to send the following json structure:
So terraform wouldn't accept the auth0_connection definition above.
Another bad thing: if create a connection from terraform, then manually set
those validation properties on that connection through the UI, and then apply
the terraform again - they'll reset to default values.
BTW, I think this is related to #40 (same kind of issue)
The text was updated successfully, but these errors were encountered:
I made it work for the provider using the following code: #43
But that thing looks ugly, especially that mess with []map[string]interface{}-s and similar. I wonder if there is a better way to support validation properties.
This issue is stale because it has been open 30 days with no activity.
Stale issues will be closed after 5 days if no action is taken. If you
think this issue should not be closed, remove the stale label.
As Auth0 documentation states, there is a "options.validation" (defined
as an object), that can be applied to a Connection. Sadly, there are no specific documented
properties for that.
The use case and the problem
I want to set username min and max length for Auth0 database
connection - that options are available to configure through Auth0 UI.
To configure them through the Management API, I need to send the following json structure:
This works, and I also receive the same structure in the connection object
from the API for the "GET connection" request.
So, connection definition in terraform should look like this:
Currently, this does not work, because in the provider "validation" schema is defined as the following:
So terraform wouldn't accept the
auth0_connection
definition above.Another bad thing: if create a connection from terraform, then manually set
those validation properties on that connection through the UI, and then apply
the terraform again - they'll reset to default values.
BTW, I think this is related to #40 (same kind of issue)
The text was updated successfully, but these errors were encountered: