Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates to docs #1140

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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 docs/data-sources/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data "auth0_client" "some-client-by-id" {
- `grant_types` (List of String) Types of grants that this client is authorized to use.
- `id` (String) The ID of this resource.
- `initiate_login_uri` (String) Initiate login URI. Must be HTTPS or an empty string.
- `is_first_party` (Boolean) Indicates whether this client is a first-party client.
- `is_first_party` (Boolean) Indicates whether this client is a first-party client. Defaults to true from the API
- `is_token_endpoint_ip_header_trusted` (Boolean) Indicates whether the token endpoint IP header is trusted. Requires the authentication method to be set to `client_secret_post` or `client_secret_basic`. Setting this property when creating the resource, will default the authentication method to `client_secret_post`. To change the authentication method to `client_secret_basic` use the `auth0_client_credentials` resource.
- `jwt_configuration` (List of Object) Configuration settings for the JWTs issued for this client. (see [below for nested schema](#nestedatt--jwt_configuration))
- `logo_uri` (String) URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ resource "auth0_client" "my_client" {
- `form_template` (String) HTML form template to be used for WS-Federation.
- `grant_types` (List of String) Types of grants that this client is authorized to use.
- `initiate_login_uri` (String) Initiate login URI. Must be HTTPS or an empty string.
- `is_first_party` (Boolean) Indicates whether this client is a first-party client.
- `is_first_party` (Boolean) Indicates whether this client is a first-party client. Defaults to true from the API
- `is_token_endpoint_ip_header_trusted` (Boolean) Indicates whether the token endpoint IP header is trusted. Requires the authentication method to be set to `client_secret_post` or `client_secret_basic`. Setting this property when creating the resource, will default the authentication method to `client_secret_post`. To change the authentication method to `client_secret_basic` use the `auth0_client_credentials` resource.
- `jwt_configuration` (Block List, Max: 1) Configuration settings for the JWTs issued for this client. (see [below for nested schema](#nestedblock--jwt_configuration))
- `logo_uri` (String) URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown.
Expand Down
9 changes: 5 additions & 4 deletions internal/auth0/client/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ func NewResource() *schema.Resource {
"If none is set, the default badge for the application type will be shown.",
},
"is_first_party": {
Type: schema.TypeBool,
Optional: true,
Computed: true,
Description: "Indicates whether this client is a first-party client.",
Type: schema.TypeBool,
Optional: true,
Computed: true,
Description: "Indicates whether this client is a first-party client. " +
"Defaults to true from the API",
},
"is_token_endpoint_ip_header_trusted": {
Type: schema.TypeBool,
Expand Down
Loading