package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
tenants "github.com/auth0/go-auth0/management/management/tenants"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &tenants.UpdateTenantSettingsRequestContent{}
client.Tenants.Settings.Update(
context.TODO(),
request,
)
}import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.tenants.settings.update({});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.tenants.settings.update({});
}
main();curl --request PATCH \
--url https://{tenantDomain}/api/v2/tenants/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"acr_values_supported": [
"<string>"
],
"allow_organization_name_in_authentication_api": false,
"allowed_logout_urls": [
"<string>"
],
"authorization_response_iss_parameter_supported": false,
"change_password": {
"enabled": false,
"html": ""
},
"client_id_metadata_document_supported": false,
"country_codes": {
"list": [
"<string>"
]
},
"customize_mfa_in_postlogin_action": false,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": true,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"ephemeral_session_lifetime_in_minutes": 2,
"error_page": {
"html": "",
"show_log_link": false,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": true,
"allow_legacy_delegation_grant_types": true,
"allow_legacy_ro_grant_types": true,
"allow_legacy_tokeninfo_endpoint": true,
"change_pwd_flow_v1": false,
"custom_domains_provisioning": false,
"dashboard_insights_view": true,
"dashboard_log_streams_next": true,
"disable_clickjack_protection_headers": true,
"disable_fields_map_fix": true,
"disable_impersonation": false,
"disable_management_api_sms_obfuscation": true,
"enable_adfs_waad_email_verification": true,
"enable_apis_section": false,
"enable_client_connections": true,
"enable_dynamic_client_registration": false,
"enable_idtoken_api2": true,
"enable_legacy_profile": true,
"enable_pipeline2": true,
"enable_public_signup_user_exists_error": true,
"enable_sso": true,
"enforce_client_authentication_on_passwordless_start": true,
"genai_trial": true,
"improved_signup_bot_detection_in_classic": true,
"mfa_show_factor_list_on_enrollment": true,
"no_disclose_enterprise_connections": true,
"remove_alg_from_jwks": true,
"revoke_refresh_token_grant": true,
"trust_azure_adfs_email_verified_connection_property": false
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": false,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_ephemeral_session_lifetime_in_minutes": 2,
"idle_session_lifetime": 72,
"idle_session_lifetime_in_minutes": 2,
"include_session_metadata_in_tenant_logs": false,
"legacy_sandbox_version": "<string>",
"mtls": {
"enable_endpoint_aliases": false
},
"oidc_logout": {
"rp_logout_end_session_endpoint_discovery": true
},
"phone_consolidated_experience": true,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": false,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"security_headers": {
"content_security_policy": {
"enabled": true,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [
{
"url": "<string>"
}
],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": true,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": {
"mode": "persistent"
},
"session_lifetime": 168,
"session_lifetime_in_minutes": 2,
"sessions": {
"oidc_logout_prompt_enabled": true
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}
'import requests
url = "https://{tenantDomain}/api/v2/tenants/settings"
payload = {
"acr_values_supported": ["<string>"],
"allow_organization_name_in_authentication_api": False,
"allowed_logout_urls": ["<string>"],
"authorization_response_iss_parameter_supported": False,
"change_password": {
"enabled": False,
"html": ""
},
"client_id_metadata_document_supported": False,
"country_codes": { "list": ["<string>"] },
"customize_mfa_in_postlogin_action": False,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": True,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"ephemeral_session_lifetime_in_minutes": 2,
"error_page": {
"html": "",
"show_log_link": False,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": True,
"allow_legacy_delegation_grant_types": True,
"allow_legacy_ro_grant_types": True,
"allow_legacy_tokeninfo_endpoint": True,
"change_pwd_flow_v1": False,
"custom_domains_provisioning": False,
"dashboard_insights_view": True,
"dashboard_log_streams_next": True,
"disable_clickjack_protection_headers": True,
"disable_fields_map_fix": True,
"disable_impersonation": False,
"disable_management_api_sms_obfuscation": True,
"enable_adfs_waad_email_verification": True,
"enable_apis_section": False,
"enable_client_connections": True,
"enable_dynamic_client_registration": False,
"enable_idtoken_api2": True,
"enable_legacy_profile": True,
"enable_pipeline2": True,
"enable_public_signup_user_exists_error": True,
"enable_sso": True,
"enforce_client_authentication_on_passwordless_start": True,
"genai_trial": True,
"improved_signup_bot_detection_in_classic": True,
"mfa_show_factor_list_on_enrollment": True,
"no_disclose_enterprise_connections": True,
"remove_alg_from_jwks": True,
"revoke_refresh_token_grant": True,
"trust_azure_adfs_email_verified_connection_property": False
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": False,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_ephemeral_session_lifetime_in_minutes": 2,
"idle_session_lifetime": 72,
"idle_session_lifetime_in_minutes": 2,
"include_session_metadata_in_tenant_logs": False,
"legacy_sandbox_version": "<string>",
"mtls": { "enable_endpoint_aliases": False },
"oidc_logout": { "rp_logout_end_session_endpoint_discovery": True },
"phone_consolidated_experience": True,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": False,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"security_headers": {
"content_security_policy": {
"enabled": True,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [{ "url": "<string>" }],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": True,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": { "mode": "persistent" },
"session_lifetime": 168,
"session_lifetime_in_minutes": 2,
"sessions": { "oidc_logout_prompt_enabled": True },
"skip_non_verifiable_callback_uri_confirmation_prompt": True,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/tenants/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'acr_values_supported' => [
'<string>'
],
'allow_organization_name_in_authentication_api' => false,
'allowed_logout_urls' => [
'<string>'
],
'authorization_response_iss_parameter_supported' => false,
'change_password' => [
'enabled' => false,
'html' => ''
],
'client_id_metadata_document_supported' => false,
'country_codes' => [
'list' => [
'<string>'
]
],
'customize_mfa_in_postlogin_action' => false,
'default_audience' => '',
'default_directory' => '',
'default_redirection_uri' => '<string>',
'default_token_quota' => [
],
'device_flow' => [
'charset' => 'base20',
'mask' => '****-****'
],
'enable_ai_guide' => true,
'enabled_locales' => [
],
'ephemeral_session_lifetime' => 72,
'ephemeral_session_lifetime_in_minutes' => 2,
'error_page' => [
'html' => '',
'show_log_link' => false,
'url' => 'https://mycompany.org/error'
],
'flags' => [
'allow_changing_enable_sso' => true,
'allow_legacy_delegation_grant_types' => true,
'allow_legacy_ro_grant_types' => true,
'allow_legacy_tokeninfo_endpoint' => true,
'change_pwd_flow_v1' => false,
'custom_domains_provisioning' => false,
'dashboard_insights_view' => true,
'dashboard_log_streams_next' => true,
'disable_clickjack_protection_headers' => true,
'disable_fields_map_fix' => true,
'disable_impersonation' => false,
'disable_management_api_sms_obfuscation' => true,
'enable_adfs_waad_email_verification' => true,
'enable_apis_section' => false,
'enable_client_connections' => true,
'enable_dynamic_client_registration' => false,
'enable_idtoken_api2' => true,
'enable_legacy_profile' => true,
'enable_pipeline2' => true,
'enable_public_signup_user_exists_error' => true,
'enable_sso' => true,
'enforce_client_authentication_on_passwordless_start' => true,
'genai_trial' => true,
'improved_signup_bot_detection_in_classic' => true,
'mfa_show_factor_list_on_enrollment' => true,
'no_disclose_enterprise_connections' => true,
'remove_alg_from_jwks' => true,
'revoke_refresh_token_grant' => true,
'trust_azure_adfs_email_verified_connection_property' => false
],
'friendly_name' => 'My Company',
'guardian_mfa_page' => [
'enabled' => false,
'html' => ''
],
'idle_ephemeral_session_lifetime' => 24,
'idle_ephemeral_session_lifetime_in_minutes' => 2,
'idle_session_lifetime' => 72,
'idle_session_lifetime_in_minutes' => 2,
'include_session_metadata_in_tenant_logs' => false,
'legacy_sandbox_version' => '<string>',
'mtls' => [
'enable_endpoint_aliases' => false
],
'oidc_logout' => [
'rp_logout_end_session_endpoint_discovery' => true
],
'phone_consolidated_experience' => true,
'picture_url' => 'https://mycompany.org/logo.png',
'pushed_authorization_requests_supported' => false,
'resource_parameter_profile' => 'audience',
'sandbox_version' => '22',
'security_headers' => [
'content_security_policy' => [
'enabled' => true,
'policies' => [
[
'directives' => [
],
'flags' => [
],
'reporting' => [
'report_to_group' => '<string>',
'report_uri' => '<string>'
]
]
],
'reporting_infrastructure' => [
'report_to' => [
'endpoints' => [
[
'url' => '<string>'
]
],
'group' => '<string>',
'max_age' => 123
],
'reporting_endpoints' => [
]
]
],
'x_xss_protection' => [
'enabled' => true,
'mode' => 'block',
'report_uri' => '<string>'
]
],
'session_cookie' => [
'mode' => 'persistent'
],
'session_lifetime' => 168,
'session_lifetime_in_minutes' => 2,
'sessions' => [
'oidc_logout_prompt_enabled' => true
],
'skip_non_verifiable_callback_uri_confirmation_prompt' => true,
'support_email' => 'support@mycompany.org',
'support_url' => 'https://mycompany.org/support'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.patch("https://{tenantDomain}/api/v2/tenants/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"acr_values_supported\": [\n \"<string>\"\n ],\n \"allow_organization_name_in_authentication_api\": false,\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"authorization_response_iss_parameter_supported\": false,\n \"change_password\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"client_id_metadata_document_supported\": false,\n \"country_codes\": {\n \"list\": [\n \"<string>\"\n ]\n },\n \"customize_mfa_in_postlogin_action\": false,\n \"default_audience\": \"\",\n \"default_directory\": \"\",\n \"default_redirection_uri\": \"<string>\",\n \"default_token_quota\": {},\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"****-****\"\n },\n \"enable_ai_guide\": true,\n \"enabled_locales\": [],\n \"ephemeral_session_lifetime\": 72,\n \"ephemeral_session_lifetime_in_minutes\": 2,\n \"error_page\": {\n \"html\": \"\",\n \"show_log_link\": false,\n \"url\": \"https://mycompany.org/error\"\n },\n \"flags\": {\n \"allow_changing_enable_sso\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"change_pwd_flow_v1\": false,\n \"custom_domains_provisioning\": false,\n \"dashboard_insights_view\": true,\n \"dashboard_log_streams_next\": true,\n \"disable_clickjack_protection_headers\": true,\n \"disable_fields_map_fix\": true,\n \"disable_impersonation\": false,\n \"disable_management_api_sms_obfuscation\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"enable_apis_section\": false,\n \"enable_client_connections\": true,\n \"enable_dynamic_client_registration\": false,\n \"enable_idtoken_api2\": true,\n \"enable_legacy_profile\": true,\n \"enable_pipeline2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"genai_trial\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"no_disclose_enterprise_connections\": true,\n \"remove_alg_from_jwks\": true,\n \"revoke_refresh_token_grant\": true,\n \"trust_azure_adfs_email_verified_connection_property\": false\n },\n \"friendly_name\": \"My Company\",\n \"guardian_mfa_page\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"idle_ephemeral_session_lifetime\": 24,\n \"idle_ephemeral_session_lifetime_in_minutes\": 2,\n \"idle_session_lifetime\": 72,\n \"idle_session_lifetime_in_minutes\": 2,\n \"include_session_metadata_in_tenant_logs\": false,\n \"legacy_sandbox_version\": \"<string>\",\n \"mtls\": {\n \"enable_endpoint_aliases\": false\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"phone_consolidated_experience\": true,\n \"picture_url\": \"https://mycompany.org/logo.png\",\n \"pushed_authorization_requests_supported\": false,\n \"resource_parameter_profile\": \"audience\",\n \"sandbox_version\": \"22\",\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {\n \"directives\": {},\n \"flags\": [],\n \"reporting\": {\n \"report_to_group\": \"<string>\",\n \"report_uri\": \"<string>\"\n }\n }\n ],\n \"reporting_infrastructure\": {\n \"report_to\": {\n \"endpoints\": [\n {\n \"url\": \"<string>\"\n }\n ],\n \"group\": \"<string>\",\n \"max_age\": 123\n },\n \"reporting_endpoints\": {}\n }\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"<string>\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"session_lifetime\": 168,\n \"session_lifetime_in_minutes\": 2,\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"support_email\": \"support@mycompany.org\",\n \"support_url\": \"https://mycompany.org/support\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/tenants/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"acr_values_supported\": [\n \"<string>\"\n ],\n \"allow_organization_name_in_authentication_api\": false,\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"authorization_response_iss_parameter_supported\": false,\n \"change_password\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"client_id_metadata_document_supported\": false,\n \"country_codes\": {\n \"list\": [\n \"<string>\"\n ]\n },\n \"customize_mfa_in_postlogin_action\": false,\n \"default_audience\": \"\",\n \"default_directory\": \"\",\n \"default_redirection_uri\": \"<string>\",\n \"default_token_quota\": {},\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"****-****\"\n },\n \"enable_ai_guide\": true,\n \"enabled_locales\": [],\n \"ephemeral_session_lifetime\": 72,\n \"ephemeral_session_lifetime_in_minutes\": 2,\n \"error_page\": {\n \"html\": \"\",\n \"show_log_link\": false,\n \"url\": \"https://mycompany.org/error\"\n },\n \"flags\": {\n \"allow_changing_enable_sso\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"change_pwd_flow_v1\": false,\n \"custom_domains_provisioning\": false,\n \"dashboard_insights_view\": true,\n \"dashboard_log_streams_next\": true,\n \"disable_clickjack_protection_headers\": true,\n \"disable_fields_map_fix\": true,\n \"disable_impersonation\": false,\n \"disable_management_api_sms_obfuscation\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"enable_apis_section\": false,\n \"enable_client_connections\": true,\n \"enable_dynamic_client_registration\": false,\n \"enable_idtoken_api2\": true,\n \"enable_legacy_profile\": true,\n \"enable_pipeline2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"genai_trial\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"no_disclose_enterprise_connections\": true,\n \"remove_alg_from_jwks\": true,\n \"revoke_refresh_token_grant\": true,\n \"trust_azure_adfs_email_verified_connection_property\": false\n },\n \"friendly_name\": \"My Company\",\n \"guardian_mfa_page\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"idle_ephemeral_session_lifetime\": 24,\n \"idle_ephemeral_session_lifetime_in_minutes\": 2,\n \"idle_session_lifetime\": 72,\n \"idle_session_lifetime_in_minutes\": 2,\n \"include_session_metadata_in_tenant_logs\": false,\n \"legacy_sandbox_version\": \"<string>\",\n \"mtls\": {\n \"enable_endpoint_aliases\": false\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"phone_consolidated_experience\": true,\n \"picture_url\": \"https://mycompany.org/logo.png\",\n \"pushed_authorization_requests_supported\": false,\n \"resource_parameter_profile\": \"audience\",\n \"sandbox_version\": \"22\",\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {\n \"directives\": {},\n \"flags\": [],\n \"reporting\": {\n \"report_to_group\": \"<string>\",\n \"report_uri\": \"<string>\"\n }\n }\n ],\n \"reporting_infrastructure\": {\n \"report_to\": {\n \"endpoints\": [\n {\n \"url\": \"<string>\"\n }\n ],\n \"group\": \"<string>\",\n \"max_age\": 123\n },\n \"reporting_endpoints\": {}\n }\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"<string>\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"session_lifetime\": 168,\n \"session_lifetime_in_minutes\": 2,\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"support_email\": \"support@mycompany.org\",\n \"support_url\": \"https://mycompany.org/support\"\n}"
response = http.request(request)
puts response.read_body{
"acr_values_supported": [
"<string>"
],
"allow_organization_name_in_authentication_api": false,
"allowed_logout_urls": [
"<string>"
],
"authorization_response_iss_parameter_supported": false,
"change_password": {
"enabled": false,
"html": ""
},
"client_id_metadata_document_supported": false,
"country_codes": {
"list": [
"<string>"
]
},
"customize_mfa_in_postlogin_action": false,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {
"clients": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"organizations": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
}
},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": true,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"error_page": {
"html": "",
"show_log_link": false,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": true,
"allow_legacy_delegation_grant_types": true,
"allow_legacy_ro_grant_types": true,
"allow_legacy_tokeninfo_endpoint": true,
"change_pwd_flow_v1": false,
"custom_domains_provisioning": false,
"dashboard_insights_view": true,
"dashboard_log_streams_next": true,
"disable_clickjack_protection_headers": true,
"disable_fields_map_fix": true,
"disable_impersonation": false,
"disable_management_api_sms_obfuscation": true,
"enable_adfs_waad_email_verification": true,
"enable_apis_section": false,
"enable_client_connections": true,
"enable_dynamic_client_registration": false,
"enable_idtoken_api2": true,
"enable_legacy_profile": true,
"enable_pipeline2": true,
"enable_public_signup_user_exists_error": true,
"enable_sso": true,
"enforce_client_authentication_on_passwordless_start": true,
"genai_trial": true,
"improved_signup_bot_detection_in_classic": true,
"mfa_show_factor_list_on_enrollment": true,
"no_disclose_enterprise_connections": true,
"remove_alg_from_jwks": true,
"revoke_refresh_token_grant": true,
"trust_azure_adfs_email_verified_connection_property": false
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": false,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_session_lifetime": 72,
"include_session_metadata_in_tenant_logs": false,
"legacy_sandbox_version": "",
"mtls": {
"enable_endpoint_aliases": false
},
"oidc_logout": {
"rp_logout_end_session_endpoint_discovery": true
},
"phone_consolidated_experience": true,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": false,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"sandbox_versions_available": [
"<string>"
],
"security_headers": {
"content_security_policy": {
"enabled": true,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [
{
"url": "<string>"
}
],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": true,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": {
"mode": "persistent"
},
"session_lifetime": 168,
"sessions": {
"oidc_logout_prompt_enabled": true
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}設定を更新
テナントの設定を更新します。
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
tenants "github.com/auth0/go-auth0/management/management/tenants"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &tenants.UpdateTenantSettingsRequestContent{}
client.Tenants.Settings.Update(
context.TODO(),
request,
)
}import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.tenants.settings.update({});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.tenants.settings.update({});
}
main();curl --request PATCH \
--url https://{tenantDomain}/api/v2/tenants/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"acr_values_supported": [
"<string>"
],
"allow_organization_name_in_authentication_api": false,
"allowed_logout_urls": [
"<string>"
],
"authorization_response_iss_parameter_supported": false,
"change_password": {
"enabled": false,
"html": ""
},
"client_id_metadata_document_supported": false,
"country_codes": {
"list": [
"<string>"
]
},
"customize_mfa_in_postlogin_action": false,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": true,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"ephemeral_session_lifetime_in_minutes": 2,
"error_page": {
"html": "",
"show_log_link": false,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": true,
"allow_legacy_delegation_grant_types": true,
"allow_legacy_ro_grant_types": true,
"allow_legacy_tokeninfo_endpoint": true,
"change_pwd_flow_v1": false,
"custom_domains_provisioning": false,
"dashboard_insights_view": true,
"dashboard_log_streams_next": true,
"disable_clickjack_protection_headers": true,
"disable_fields_map_fix": true,
"disable_impersonation": false,
"disable_management_api_sms_obfuscation": true,
"enable_adfs_waad_email_verification": true,
"enable_apis_section": false,
"enable_client_connections": true,
"enable_dynamic_client_registration": false,
"enable_idtoken_api2": true,
"enable_legacy_profile": true,
"enable_pipeline2": true,
"enable_public_signup_user_exists_error": true,
"enable_sso": true,
"enforce_client_authentication_on_passwordless_start": true,
"genai_trial": true,
"improved_signup_bot_detection_in_classic": true,
"mfa_show_factor_list_on_enrollment": true,
"no_disclose_enterprise_connections": true,
"remove_alg_from_jwks": true,
"revoke_refresh_token_grant": true,
"trust_azure_adfs_email_verified_connection_property": false
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": false,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_ephemeral_session_lifetime_in_minutes": 2,
"idle_session_lifetime": 72,
"idle_session_lifetime_in_minutes": 2,
"include_session_metadata_in_tenant_logs": false,
"legacy_sandbox_version": "<string>",
"mtls": {
"enable_endpoint_aliases": false
},
"oidc_logout": {
"rp_logout_end_session_endpoint_discovery": true
},
"phone_consolidated_experience": true,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": false,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"security_headers": {
"content_security_policy": {
"enabled": true,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [
{
"url": "<string>"
}
],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": true,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": {
"mode": "persistent"
},
"session_lifetime": 168,
"session_lifetime_in_minutes": 2,
"sessions": {
"oidc_logout_prompt_enabled": true
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}
'import requests
url = "https://{tenantDomain}/api/v2/tenants/settings"
payload = {
"acr_values_supported": ["<string>"],
"allow_organization_name_in_authentication_api": False,
"allowed_logout_urls": ["<string>"],
"authorization_response_iss_parameter_supported": False,
"change_password": {
"enabled": False,
"html": ""
},
"client_id_metadata_document_supported": False,
"country_codes": { "list": ["<string>"] },
"customize_mfa_in_postlogin_action": False,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": True,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"ephemeral_session_lifetime_in_minutes": 2,
"error_page": {
"html": "",
"show_log_link": False,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": True,
"allow_legacy_delegation_grant_types": True,
"allow_legacy_ro_grant_types": True,
"allow_legacy_tokeninfo_endpoint": True,
"change_pwd_flow_v1": False,
"custom_domains_provisioning": False,
"dashboard_insights_view": True,
"dashboard_log_streams_next": True,
"disable_clickjack_protection_headers": True,
"disable_fields_map_fix": True,
"disable_impersonation": False,
"disable_management_api_sms_obfuscation": True,
"enable_adfs_waad_email_verification": True,
"enable_apis_section": False,
"enable_client_connections": True,
"enable_dynamic_client_registration": False,
"enable_idtoken_api2": True,
"enable_legacy_profile": True,
"enable_pipeline2": True,
"enable_public_signup_user_exists_error": True,
"enable_sso": True,
"enforce_client_authentication_on_passwordless_start": True,
"genai_trial": True,
"improved_signup_bot_detection_in_classic": True,
"mfa_show_factor_list_on_enrollment": True,
"no_disclose_enterprise_connections": True,
"remove_alg_from_jwks": True,
"revoke_refresh_token_grant": True,
"trust_azure_adfs_email_verified_connection_property": False
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": False,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_ephemeral_session_lifetime_in_minutes": 2,
"idle_session_lifetime": 72,
"idle_session_lifetime_in_minutes": 2,
"include_session_metadata_in_tenant_logs": False,
"legacy_sandbox_version": "<string>",
"mtls": { "enable_endpoint_aliases": False },
"oidc_logout": { "rp_logout_end_session_endpoint_discovery": True },
"phone_consolidated_experience": True,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": False,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"security_headers": {
"content_security_policy": {
"enabled": True,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [{ "url": "<string>" }],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": True,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": { "mode": "persistent" },
"session_lifetime": 168,
"session_lifetime_in_minutes": 2,
"sessions": { "oidc_logout_prompt_enabled": True },
"skip_non_verifiable_callback_uri_confirmation_prompt": True,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/tenants/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'acr_values_supported' => [
'<string>'
],
'allow_organization_name_in_authentication_api' => false,
'allowed_logout_urls' => [
'<string>'
],
'authorization_response_iss_parameter_supported' => false,
'change_password' => [
'enabled' => false,
'html' => ''
],
'client_id_metadata_document_supported' => false,
'country_codes' => [
'list' => [
'<string>'
]
],
'customize_mfa_in_postlogin_action' => false,
'default_audience' => '',
'default_directory' => '',
'default_redirection_uri' => '<string>',
'default_token_quota' => [
],
'device_flow' => [
'charset' => 'base20',
'mask' => '****-****'
],
'enable_ai_guide' => true,
'enabled_locales' => [
],
'ephemeral_session_lifetime' => 72,
'ephemeral_session_lifetime_in_minutes' => 2,
'error_page' => [
'html' => '',
'show_log_link' => false,
'url' => 'https://mycompany.org/error'
],
'flags' => [
'allow_changing_enable_sso' => true,
'allow_legacy_delegation_grant_types' => true,
'allow_legacy_ro_grant_types' => true,
'allow_legacy_tokeninfo_endpoint' => true,
'change_pwd_flow_v1' => false,
'custom_domains_provisioning' => false,
'dashboard_insights_view' => true,
'dashboard_log_streams_next' => true,
'disable_clickjack_protection_headers' => true,
'disable_fields_map_fix' => true,
'disable_impersonation' => false,
'disable_management_api_sms_obfuscation' => true,
'enable_adfs_waad_email_verification' => true,
'enable_apis_section' => false,
'enable_client_connections' => true,
'enable_dynamic_client_registration' => false,
'enable_idtoken_api2' => true,
'enable_legacy_profile' => true,
'enable_pipeline2' => true,
'enable_public_signup_user_exists_error' => true,
'enable_sso' => true,
'enforce_client_authentication_on_passwordless_start' => true,
'genai_trial' => true,
'improved_signup_bot_detection_in_classic' => true,
'mfa_show_factor_list_on_enrollment' => true,
'no_disclose_enterprise_connections' => true,
'remove_alg_from_jwks' => true,
'revoke_refresh_token_grant' => true,
'trust_azure_adfs_email_verified_connection_property' => false
],
'friendly_name' => 'My Company',
'guardian_mfa_page' => [
'enabled' => false,
'html' => ''
],
'idle_ephemeral_session_lifetime' => 24,
'idle_ephemeral_session_lifetime_in_minutes' => 2,
'idle_session_lifetime' => 72,
'idle_session_lifetime_in_minutes' => 2,
'include_session_metadata_in_tenant_logs' => false,
'legacy_sandbox_version' => '<string>',
'mtls' => [
'enable_endpoint_aliases' => false
],
'oidc_logout' => [
'rp_logout_end_session_endpoint_discovery' => true
],
'phone_consolidated_experience' => true,
'picture_url' => 'https://mycompany.org/logo.png',
'pushed_authorization_requests_supported' => false,
'resource_parameter_profile' => 'audience',
'sandbox_version' => '22',
'security_headers' => [
'content_security_policy' => [
'enabled' => true,
'policies' => [
[
'directives' => [
],
'flags' => [
],
'reporting' => [
'report_to_group' => '<string>',
'report_uri' => '<string>'
]
]
],
'reporting_infrastructure' => [
'report_to' => [
'endpoints' => [
[
'url' => '<string>'
]
],
'group' => '<string>',
'max_age' => 123
],
'reporting_endpoints' => [
]
]
],
'x_xss_protection' => [
'enabled' => true,
'mode' => 'block',
'report_uri' => '<string>'
]
],
'session_cookie' => [
'mode' => 'persistent'
],
'session_lifetime' => 168,
'session_lifetime_in_minutes' => 2,
'sessions' => [
'oidc_logout_prompt_enabled' => true
],
'skip_non_verifiable_callback_uri_confirmation_prompt' => true,
'support_email' => 'support@mycompany.org',
'support_url' => 'https://mycompany.org/support'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.patch("https://{tenantDomain}/api/v2/tenants/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"acr_values_supported\": [\n \"<string>\"\n ],\n \"allow_organization_name_in_authentication_api\": false,\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"authorization_response_iss_parameter_supported\": false,\n \"change_password\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"client_id_metadata_document_supported\": false,\n \"country_codes\": {\n \"list\": [\n \"<string>\"\n ]\n },\n \"customize_mfa_in_postlogin_action\": false,\n \"default_audience\": \"\",\n \"default_directory\": \"\",\n \"default_redirection_uri\": \"<string>\",\n \"default_token_quota\": {},\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"****-****\"\n },\n \"enable_ai_guide\": true,\n \"enabled_locales\": [],\n \"ephemeral_session_lifetime\": 72,\n \"ephemeral_session_lifetime_in_minutes\": 2,\n \"error_page\": {\n \"html\": \"\",\n \"show_log_link\": false,\n \"url\": \"https://mycompany.org/error\"\n },\n \"flags\": {\n \"allow_changing_enable_sso\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"change_pwd_flow_v1\": false,\n \"custom_domains_provisioning\": false,\n \"dashboard_insights_view\": true,\n \"dashboard_log_streams_next\": true,\n \"disable_clickjack_protection_headers\": true,\n \"disable_fields_map_fix\": true,\n \"disable_impersonation\": false,\n \"disable_management_api_sms_obfuscation\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"enable_apis_section\": false,\n \"enable_client_connections\": true,\n \"enable_dynamic_client_registration\": false,\n \"enable_idtoken_api2\": true,\n \"enable_legacy_profile\": true,\n \"enable_pipeline2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"genai_trial\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"no_disclose_enterprise_connections\": true,\n \"remove_alg_from_jwks\": true,\n \"revoke_refresh_token_grant\": true,\n \"trust_azure_adfs_email_verified_connection_property\": false\n },\n \"friendly_name\": \"My Company\",\n \"guardian_mfa_page\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"idle_ephemeral_session_lifetime\": 24,\n \"idle_ephemeral_session_lifetime_in_minutes\": 2,\n \"idle_session_lifetime\": 72,\n \"idle_session_lifetime_in_minutes\": 2,\n \"include_session_metadata_in_tenant_logs\": false,\n \"legacy_sandbox_version\": \"<string>\",\n \"mtls\": {\n \"enable_endpoint_aliases\": false\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"phone_consolidated_experience\": true,\n \"picture_url\": \"https://mycompany.org/logo.png\",\n \"pushed_authorization_requests_supported\": false,\n \"resource_parameter_profile\": \"audience\",\n \"sandbox_version\": \"22\",\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {\n \"directives\": {},\n \"flags\": [],\n \"reporting\": {\n \"report_to_group\": \"<string>\",\n \"report_uri\": \"<string>\"\n }\n }\n ],\n \"reporting_infrastructure\": {\n \"report_to\": {\n \"endpoints\": [\n {\n \"url\": \"<string>\"\n }\n ],\n \"group\": \"<string>\",\n \"max_age\": 123\n },\n \"reporting_endpoints\": {}\n }\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"<string>\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"session_lifetime\": 168,\n \"session_lifetime_in_minutes\": 2,\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"support_email\": \"support@mycompany.org\",\n \"support_url\": \"https://mycompany.org/support\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/tenants/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"acr_values_supported\": [\n \"<string>\"\n ],\n \"allow_organization_name_in_authentication_api\": false,\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"authorization_response_iss_parameter_supported\": false,\n \"change_password\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"client_id_metadata_document_supported\": false,\n \"country_codes\": {\n \"list\": [\n \"<string>\"\n ]\n },\n \"customize_mfa_in_postlogin_action\": false,\n \"default_audience\": \"\",\n \"default_directory\": \"\",\n \"default_redirection_uri\": \"<string>\",\n \"default_token_quota\": {},\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"****-****\"\n },\n \"enable_ai_guide\": true,\n \"enabled_locales\": [],\n \"ephemeral_session_lifetime\": 72,\n \"ephemeral_session_lifetime_in_minutes\": 2,\n \"error_page\": {\n \"html\": \"\",\n \"show_log_link\": false,\n \"url\": \"https://mycompany.org/error\"\n },\n \"flags\": {\n \"allow_changing_enable_sso\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"change_pwd_flow_v1\": false,\n \"custom_domains_provisioning\": false,\n \"dashboard_insights_view\": true,\n \"dashboard_log_streams_next\": true,\n \"disable_clickjack_protection_headers\": true,\n \"disable_fields_map_fix\": true,\n \"disable_impersonation\": false,\n \"disable_management_api_sms_obfuscation\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"enable_apis_section\": false,\n \"enable_client_connections\": true,\n \"enable_dynamic_client_registration\": false,\n \"enable_idtoken_api2\": true,\n \"enable_legacy_profile\": true,\n \"enable_pipeline2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"genai_trial\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"no_disclose_enterprise_connections\": true,\n \"remove_alg_from_jwks\": true,\n \"revoke_refresh_token_grant\": true,\n \"trust_azure_adfs_email_verified_connection_property\": false\n },\n \"friendly_name\": \"My Company\",\n \"guardian_mfa_page\": {\n \"enabled\": false,\n \"html\": \"\"\n },\n \"idle_ephemeral_session_lifetime\": 24,\n \"idle_ephemeral_session_lifetime_in_minutes\": 2,\n \"idle_session_lifetime\": 72,\n \"idle_session_lifetime_in_minutes\": 2,\n \"include_session_metadata_in_tenant_logs\": false,\n \"legacy_sandbox_version\": \"<string>\",\n \"mtls\": {\n \"enable_endpoint_aliases\": false\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"phone_consolidated_experience\": true,\n \"picture_url\": \"https://mycompany.org/logo.png\",\n \"pushed_authorization_requests_supported\": false,\n \"resource_parameter_profile\": \"audience\",\n \"sandbox_version\": \"22\",\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {\n \"directives\": {},\n \"flags\": [],\n \"reporting\": {\n \"report_to_group\": \"<string>\",\n \"report_uri\": \"<string>\"\n }\n }\n ],\n \"reporting_infrastructure\": {\n \"report_to\": {\n \"endpoints\": [\n {\n \"url\": \"<string>\"\n }\n ],\n \"group\": \"<string>\",\n \"max_age\": 123\n },\n \"reporting_endpoints\": {}\n }\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"<string>\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"session_lifetime\": 168,\n \"session_lifetime_in_minutes\": 2,\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"support_email\": \"support@mycompany.org\",\n \"support_url\": \"https://mycompany.org/support\"\n}"
response = http.request(request)
puts response.read_body{
"acr_values_supported": [
"<string>"
],
"allow_organization_name_in_authentication_api": false,
"allowed_logout_urls": [
"<string>"
],
"authorization_response_iss_parameter_supported": false,
"change_password": {
"enabled": false,
"html": ""
},
"client_id_metadata_document_supported": false,
"country_codes": {
"list": [
"<string>"
]
},
"customize_mfa_in_postlogin_action": false,
"default_audience": "",
"default_directory": "",
"default_redirection_uri": "<string>",
"default_token_quota": {
"clients": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"organizations": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
}
},
"device_flow": {
"charset": "base20",
"mask": "****-****"
},
"enable_ai_guide": true,
"enabled_locales": [],
"ephemeral_session_lifetime": 72,
"error_page": {
"html": "",
"show_log_link": false,
"url": "https://mycompany.org/error"
},
"flags": {
"allow_changing_enable_sso": true,
"allow_legacy_delegation_grant_types": true,
"allow_legacy_ro_grant_types": true,
"allow_legacy_tokeninfo_endpoint": true,
"change_pwd_flow_v1": false,
"custom_domains_provisioning": false,
"dashboard_insights_view": true,
"dashboard_log_streams_next": true,
"disable_clickjack_protection_headers": true,
"disable_fields_map_fix": true,
"disable_impersonation": false,
"disable_management_api_sms_obfuscation": true,
"enable_adfs_waad_email_verification": true,
"enable_apis_section": false,
"enable_client_connections": true,
"enable_dynamic_client_registration": false,
"enable_idtoken_api2": true,
"enable_legacy_profile": true,
"enable_pipeline2": true,
"enable_public_signup_user_exists_error": true,
"enable_sso": true,
"enforce_client_authentication_on_passwordless_start": true,
"genai_trial": true,
"improved_signup_bot_detection_in_classic": true,
"mfa_show_factor_list_on_enrollment": true,
"no_disclose_enterprise_connections": true,
"remove_alg_from_jwks": true,
"revoke_refresh_token_grant": true,
"trust_azure_adfs_email_verified_connection_property": false
},
"friendly_name": "My Company",
"guardian_mfa_page": {
"enabled": false,
"html": ""
},
"idle_ephemeral_session_lifetime": 24,
"idle_session_lifetime": 72,
"include_session_metadata_in_tenant_logs": false,
"legacy_sandbox_version": "",
"mtls": {
"enable_endpoint_aliases": false
},
"oidc_logout": {
"rp_logout_end_session_endpoint_discovery": true
},
"phone_consolidated_experience": true,
"picture_url": "https://mycompany.org/logo.png",
"pushed_authorization_requests_supported": false,
"resource_parameter_profile": "audience",
"sandbox_version": "22",
"sandbox_versions_available": [
"<string>"
],
"security_headers": {
"content_security_policy": {
"enabled": true,
"policies": [
{
"directives": {},
"flags": [],
"reporting": {
"report_to_group": "<string>",
"report_uri": "<string>"
}
}
],
"reporting_infrastructure": {
"report_to": {
"endpoints": [
{
"url": "<string>"
}
],
"group": "<string>",
"max_age": 123
},
"reporting_endpoints": {}
}
},
"x_xss_protection": {
"enabled": true,
"mode": "block",
"report_uri": "<string>"
}
},
"session_cookie": {
"mode": "persistent"
},
"session_lifetime": 168,
"sessions": {
"oidc_logout_prompt_enabled": true
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"support_email": "support@mycompany.org",
"support_url": "https://mycompany.org/support"
}承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ボディ
サポートされる ACR 値
認可エンドポイントで ID の代わりに組織名を受け入れるかどうか
Auth0 からログアウトした後のリダイレクト先として有効な URL。
認可レスポンスで iss パラメーターをサポートするかどうか
Change Password ページのカスタマイズ。
Show child attributes
Show child attributes
認可サーバーが client_id URL からクライアントメタデータを取得できるかどうか。
識別子入力用の電話番号の国コード設定。
Show child attributes
Show child attributes
PostLogin Action で MFA の柔軟な認証要素を有効にするかどうか
API 認可のデフォルトのオーディエンス。
/token エンドポイントでパスワードグラントに使用する接続の名前。サポートされる接続タイプは次のとおりです: LDAP、AD、データベース接続、パスワードレス、Windows Azure Active Directory、ADFS。
既定の絶対リダイレクト URI。https である必要があります
クライアントと組織に対するトークン発行のクォータを設定するための Token Quota 構成。個別のクライアントまたは組織の設定で上書きされない限り、すべてのクライアントと組織に適用されます。
Show child attributes
Show child attributes
デバイスフローの設定。
Show child attributes
Show child attributes
このテナントで Auth0 Guide(AI を活用した支援機能)が有効になっているかどうか。
ユーザーインターフェースでサポートされるロケール
1am, ar, ar-EG, ar-SA, az, bg, bn, bs, ca-ES, cnr, cs, cy, da, de, el, en, en-CA, es, es-419, es-AR, es-MX, et, eu-ES, fa, fi, fr, fr-CA, fr-FR, gl-ES, gu, he, hi, hr, hu, hy, id, is, it, ja, ka, kk, kn, ko, lt, lv, mk, ml, mn, mr, ms, my, nb, nl, nn, no, pa, pl, pt, pt-BR, pt-PT, ro, ru, sk, sl, so, sq, sr, sv, sw, ta, te, th, tl, tr, uk, ur, vi, zgh, zh-CN, zh-HK, zh-MO, zh-TW 一時的な(永続化されない)セッションが有効な状態を維持する時間数。
x >= 1一時的な(永続化されない)セッションが有効な状態を維持する時間(分)。ephemeral_session_lifetime と同時に指定することはできません。
x >= 1エラーページのカスタマイズ。
Show child attributes
Show child attributes
このテナントの動作を変更するためのフラグ。
Show child attributes
Show child attributes
このテナントのフレンドリ名。
Guardian ページのカスタマイズ。
Show child attributes
Show child attributes
ユーザーが再度ログインするまで、一時的な(永続化されない)セッションが非アクティブな状態を維持できる時間数。
x >= 1ユーザーが再度ログインするまでに、一時的な(永続化されない)セッションを非アクティブのまま維持できる時間(分)。idle_ephemeral_session_lifetime と同時に指定することはできません。
x >= 1ユーザーが再度ログインするまで、セッションが非アクティブな状態を維持できる時間数。
x >= 1ユーザーが再度ログインするまでに、セッションを非アクティブのまま維持できる時間(分)。idle_session_lifetime と同時に指定することはできません。
x >= 1特定のテナントログ(slo、oidc_backchannel_logout_failed、oidc_backchannel_logout_succeeded)にセッションメタデータを含めるかどうか。
拡張機能環境用に選択されたレガシーサンドボックスのバージョン
8mTLS の設定。
Show child attributes
Show child attributes
OIDC RP-initiated Logout に関連する設定
Show child attributes
Show child attributes
このテナントで Phone Consolidated Experience が有効になっているかどうか。
このテナントに表示するロゴの URL(推奨サイズ: 150x150)
プッシュ型認可リクエストの使用を有効にします
アクセス要求時に、OAuth エンドポイントで保護対象リソース(つまり API)のアイデンティティをどのように指定するかを決定するプロファイルです。audience(デフォルト)に設定すると、リソースサーバーの指定には audience パラメーターが使用されます。compatibility に設定すると、引き続き audience パラメーターが最初に確認されますが、それが指定されていない場合は resource パラメーターを使用してリソースサーバーを指定できます。
audience, compatibility 拡張機能環境用に選択されたサンドボックスのバージョン
8テナントのレスポンスに対するセキュリティヘッダーの設定。
Show child attributes
Show child attributes
セッションクッキーの設定
Show child attributes
Show child attributes
セッションが有効な状態を維持する時間数。
x >= 1セッションが有効な状態を維持する時間(分)。session_lifetime と同時に指定することはできません。
x >= 1テナントのセッション関連設定
Show child attributes
Show child attributes
リダイレクト URI で検証できないコールバック URI(たとえば、myapp:// のようなカスタム URI スキーマや localhost)を使用している場合に、ログインフロー中に確認プロンプトを表示するかどうかを制御します。
true に設定すると、確認プロンプトは表示されません。悪意のあるアプリに対する保護を強化するため、この設定は false にすることを推奨します。
詳細は https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation を参照してください。
エンドユーザー向けサポート用メールアドレス。
エンドユーザー向けサポート URL。
レスポンス
テナントの設定が正常に更新されました。
サポートされる ACR 値
認可エンドポイントで ID の代わりに組織名を受け入れるかどうか
Auth0 からログアウトした後のリダイレクト先として有効な URL。
認可レスポンスで iss パラメーターをサポートします
Change Password ページのカスタマイズ。
Show child attributes
Show child attributes
認可サーバーが client_id URL からクライアントメタデータを取得できるかどうか。
識別子入力用の電話番号の国コード設定。
Show child attributes
Show child attributes
PostLogin Action で MFA の柔軟な認証要素を有効にするかどうか
API 認可の既定のオーディエンス。
/token エンドポイントで Password グラントに使用される接続の名前。サポートされる接続タイプは次のとおりです: LDAP、AD、データベース接続、パスワードレス、Windows Azure Active Directory、ADFS。
デフォルトの絶対リダイレクト URI。https である必要があります
クライアントと組織に対するトークン発行のクォータを設定するための Token Quota 構成。個別のクライアントまたは組織の設定で上書きされない限り、すべてのクライアントと組織に適用されます。
Show child attributes
Show child attributes
デバイスフローの設定
Show child attributes
Show child attributes
このテナントで Auth0 Guide(AI を活用した支援機能)が有効になっているかどうか。
ユーザーインターフェースでサポートされるロケール。
am, ar, ar-EG, ar-SA, az, bg, bn, bs, ca-ES, cnr, cs, cy, da, de, el, en, en-CA, es, es-419, es-AR, es-MX, et, eu-ES, fa, fi, fr, fr-CA, fr-FR, gl-ES, gu, he, hi, hr, hu, hy, id, is, it, ja, ka, kk, kn, ko, lt, lv, mk, ml, mn, mr, ms, my, nb, nl, nn, no, pa, pl, pt, pt-BR, pt-PT, ro, ru, sk, sl, so, sq, sr, sv, sw, ta, te, th, tl, tr, uk, ur, vi, zgh, zh-CN, zh-HK, zh-MO, zh-TW 一時的な(永続化されない)セッションが有効な状態を維持する時間数。
x >= 1エラーページのカスタマイズ。
Show child attributes
Show child attributes
このテナントの動作を変更するためのフラグ。
Show child attributes
Show child attributes
このテナントのフレンドリ名。
Guardian ページのカスタマイズ。
Show child attributes
Show child attributes
ユーザーが再度ログインするまで、一時的な(永続化されない)セッションが非アクティブな状態を維持できる時間数。
x >= 1ユーザーが再度ログインするまで、セッションが非アクティブな状態を維持できる時間数。
特定のテナントログ(slo、oidc_backchannel_logout_failed、oidc_backchannel_logout_succeeded)にセッションメタデータを含めるかどうか。
Rules および Hooks の拡張機能で選択されているサンドボックスのバージョン。
mTLS の設定。
Show child attributes
Show child attributes
OIDC RP-initiated Logout に関連する設定
Show child attributes
Show child attributes
このテナントで Phone Consolidated Experience が有効になっているかどうか。
このテナントに表示するロゴの URL(推奨サイズ: 150x150)
プッシュ型認可リクエストの使用を有効にします
アクセス要求時に、OAuth エンドポイントで保護対象リソース(つまり API)のアイデンティティをどのように指定するかを決定するプロファイルです。audience(デフォルト)に設定すると、リソースサーバーの指定には audience パラメーターが使用されます。compatibility に設定すると、引き続き audience パラメーターが最初に確認されますが、それが指定されていない場合は resource パラメーターを使用してリソースサーバーを指定できます。
audience, compatibility 拡張機能環境で選択されているサンドボックスのバージョン。
拡張機能環境で利用可能なサンドボックスのバージョン。
テナントのレスポンスに対するセキュリティヘッダーの設定。
Show child attributes
Show child attributes
セッションクッキーの設定
Show child attributes
Show child attributes
セッションが有効な状態を維持する時間数。
テナントのセッション関連設定
Show child attributes
Show child attributes
リダイレクト URI に、検証できないコールバック URI(たとえば、myapp:// のようなカスタム URI スキームや localhost)が使われている場合に、Login フロー中に確認プロンプトを表示するかどうかを制御します。
true に設定すると、確認プロンプトは表示されません。悪意のあるアプリによるなりすましへの保護を強化するため、この設定は false にすることを推奨します。
詳細については、https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation を参照してください。
エンドユーザー向けサポート用メールアドレス。
エンドユーザー向けサポート URL。