Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Minor fix to tenant config and documentation #345

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auth0/resource_auth0_tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func newTenant() *schema.Resource {
ValidateFunc: validation.FloatAtLeast(0.01),
},
"enabled_locales": {
Type: schema.TypeSet,
Type: schema.TypeList,
Elem: &schema.Schema{Type: schema.TypeString},
Optional: true,
Computed: true,
Expand Down
3 changes: 2 additions & 1 deletion docs/resources/tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Arguments accepted by this resource include:
* `guardian_mfa_page` - (Optional) List(Resource). Configuration settings for the Guardian MFA page. For details, see [Guardian MFA Page](#guardian-mfa-page).
* `default_audience` - (Optional) String. API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
* `default_directory` - (Optional) String. Name of the connection to be used for Password Grant exchanges. Options include `auth0-adldap`, `ad`, `auth0`, `email`, `sms`, `waad`, and `adfs`.
* `default_redirection_uri` - (Optional) String. The default absolute redirection uri, must be https and cannot contain a fragment.
* `error_page` - (Optional) List(Resource). Configuration settings for error pages. For details, see [Error Page](#error-page).
* `friendly_name` - (Optional) String. Friendly name for the tenant.
* `picture_url` - (Optional). String URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
Expand All @@ -66,8 +65,10 @@ Arguments accepted by this resource include:
* `session_lifetime` - (Optional) Integer. Number of hours during which a session will stay valid.
* `sandbox_version` - (Optional) String. Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
* `idle_session_lifetime` - (Optional) Integer. Number of hours during which a session can be inactive before the user must log in again.
* `enabled_locales`- (Optional) List(String). Supported locales for the user interface. The first locale in the list will be used to set the default locale.
* `flags` - (Optional) List(Resource). Configuration settings for tenant flags. For details, see [Flags](#flags).
* `universal_login` - (Optional) List(Resource). Configuration settings for Universal Login. For details, see [Universal Login](#universal-login).
* `default_redirection_uri` - (Optional) String. The default absolute redirection uri, must be https and cannot contain a fragment.

### Change Password Page

Expand Down