package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.UpdateClientRequestContent{}
client.Clients.Update(
context.TODO(),
"id",
request,
)
}import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.clients.update("id", {});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.clients.update("id", {});
}
main();curl --request PATCH \
--url https://{tenantDomain}/api/v2/clients/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": true,
"blob_read": true,
"blob_write": true,
"containerName": "<string>",
"container_delete": true,
"container_list": true,
"container_read": true,
"container_write": true,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": {
"domain": "<string>"
},
"egnyte": {
"domain": "<string>"
},
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"newrelic": {
"account": "<string>"
},
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"salesforce": {
"entity_id": "<string>"
},
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": true,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": true,
"mapUnknownClaimsAsIs": true,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": [
"<string>"
],
"passthroughClaimsWithNoMapping": true,
"recipient": "<string>",
"signResponse": true,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": [
"<string>"
],
"url": "<string>"
},
"springcm": {
"acsurl": "<string>"
},
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": {
"masterkey": "<string>"
},
"wsfed": {},
"zendesk": {
"accountName": "<string>"
},
"zoom": {
"account": "<string>"
}
},
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"callbacks": [
"<string>"
],
"client_aliases": [
"<string>"
],
"client_authentication_methods": {},
"client_metadata": {},
"client_secret": "<string>",
"cross_origin_authentication": true,
"cross_origin_loc": "<string>",
"custom_login_page": "<string>",
"custom_login_page_on": true,
"custom_login_page_preview": "<string>",
"default_organization": {
"flows": [
"client_credentials"
],
"organization_id": "<string>"
},
"description": "<string>",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": true,
"enable_organization": true,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [
{
"client_id": "<string>"
}
],
"oin_submission_id": "<string>"
},
"fedcm_login": {
"google": {
"is_enabled": false
}
},
"form_template": "<string>",
"grant_types": [
"<string>"
],
"initiate_login_uri": "<string>",
"is_first_party": true,
"is_token_endpoint_ip_header_trusted": false,
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": true
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": [
"<string>"
]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "<string>",
"native_social_login": {
"apple": {
"enabled": false
},
"facebook": {
"enabled": false
},
"google": {
"enabled": false
}
},
"oidc_backchannel_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"oidc_conformant": false,
"oidc_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": false,
"infinite_token_lifetime": true,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": [
"<string>"
]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": false,
"require_pushed_authorization_requests": false,
"session_transfer": {
"allow_refresh_token": false,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": false,
"delegation": {
"allow_delegated_access": false,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": true,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": true
},
"signed_request_object": {
"credentials": [
{
"id": "<string>"
}
],
"required": false
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"sso": true,
"sso_disabled": true,
"token_endpoint_auth_method": "none",
"token_exchange": {
"allow_any_profile_of_type": []
},
"token_quota": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"web_origins": [
"<string>"
]
}
'import requests
url = "https://{tenantDomain}/api/v2/clients/{id}"
payload = {
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": True,
"blob_read": True,
"blob_write": True,
"containerName": "<string>",
"container_delete": True,
"container_list": True,
"container_read": True,
"container_write": True,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": { "domain": "<string>" },
"egnyte": { "domain": "<string>" },
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"newrelic": { "account": "<string>" },
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"salesforce": { "entity_id": "<string>" },
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": True,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": True,
"mapUnknownClaimsAsIs": True,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": ["<string>"],
"passthroughClaimsWithNoMapping": True,
"recipient": "<string>",
"signResponse": True,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": ["<string>"],
"url": "<string>"
},
"springcm": { "acsurl": "<string>" },
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": { "masterkey": "<string>" },
"wsfed": {},
"zendesk": { "accountName": "<string>" },
"zoom": { "account": "<string>" }
},
"allowed_clients": ["<string>"],
"allowed_logout_urls": ["<string>"],
"allowed_origins": ["<string>"],
"async_approval_notification_channels": [],
"callbacks": ["<string>"],
"client_aliases": ["<string>"],
"client_authentication_methods": {},
"client_metadata": {},
"client_secret": "<string>",
"cross_origin_authentication": True,
"cross_origin_loc": "<string>",
"custom_login_page": "<string>",
"custom_login_page_on": True,
"custom_login_page_preview": "<string>",
"default_organization": {
"flows": ["client_credentials"],
"organization_id": "<string>"
},
"description": "<string>",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": True,
"enable_organization": True,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [{ "client_id": "<string>" }],
"oin_submission_id": "<string>"
},
"fedcm_login": { "google": { "is_enabled": False } },
"form_template": "<string>",
"grant_types": ["<string>"],
"initiate_login_uri": "<string>",
"is_first_party": True,
"is_token_endpoint_ip_header_trusted": False,
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": True
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": ["<string>"]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "<string>",
"native_social_login": {
"apple": { "enabled": False },
"facebook": { "enabled": False },
"google": { "enabled": False }
},
"oidc_backchannel_logout": {
"backchannel_logout_initiators": { "selected_initiators": [] },
"backchannel_logout_session_metadata": { "include": True },
"backchannel_logout_urls": ["<string>"]
},
"oidc_conformant": False,
"oidc_logout": {
"backchannel_logout_initiators": { "selected_initiators": [] },
"backchannel_logout_session_metadata": { "include": True },
"backchannel_logout_urls": ["<string>"]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": False,
"infinite_token_lifetime": True,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": ["<string>"]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": False,
"require_pushed_authorization_requests": False,
"session_transfer": {
"allow_refresh_token": False,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": False,
"delegation": {
"allow_delegated_access": False,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": True,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": True
},
"signed_request_object": {
"credentials": [{ "id": "<string>" }],
"required": False
},
"skip_non_verifiable_callback_uri_confirmation_prompt": True,
"sso": True,
"sso_disabled": True,
"token_endpoint_auth_method": "none",
"token_exchange": { "allow_any_profile_of_type": [] },
"token_quota": { "client_credentials": {
"enforce": True,
"per_day": 1073741824,
"per_hour": 1073741824
} },
"web_origins": ["<string>"]
}
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/clients/{id}",
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([
'addons' => [
'aws' => [
'lifetime_in_seconds' => 22050,
'principal' => '<string>',
'role' => '<string>'
],
'azure_blob' => [
'accountName' => '<string>',
'blobName' => '<string>',
'blob_delete' => true,
'blob_read' => true,
'blob_write' => true,
'containerName' => '<string>',
'container_delete' => true,
'container_list' => true,
'container_read' => true,
'container_write' => true,
'expiration' => 1,
'signedIdentifier' => '<string>',
'storageAccessKey' => '<string>'
],
'azure_sb' => [
'entityPath' => '<string>',
'expiration' => 123,
'namespace' => '<string>',
'sasKey' => '<string>',
'sasKeyName' => '<string>'
],
'box' => [
],
'cloudbees' => [
],
'concur' => [
],
'dropbox' => [
],
'echosign' => [
'domain' => '<string>'
],
'egnyte' => [
'domain' => '<string>'
],
'firebase' => [
'client_email' => '<string>',
'lifetime_in_seconds' => 123,
'private_key' => '<string>',
'private_key_id' => '<string>',
'secret' => '<string>'
],
'newrelic' => [
'account' => '<string>'
],
'oag' => [
],
'office365' => [
'connection' => '<string>',
'domain' => '<string>'
],
'salesforce' => [
'entity_id' => '<string>'
],
'salesforce_api' => [
'clientid' => '<string>',
'communityName' => '<string>',
'community_url_section' => '<string>',
'principal' => '<string>'
],
'salesforce_sandbox_api' => [
'clientid' => '<string>',
'communityName' => '<string>',
'community_url_section' => '<string>',
'principal' => '<string>'
],
'samlp' => [
'audience' => '<string>',
'authnContextClassRef' => '<string>',
'createUpnClaim' => true,
'destination' => '<string>',
'digestAlgorithm' => '<string>',
'issuer' => '<string>',
'lifetimeInSeconds' => 123,
'mapIdentities' => true,
'mapUnknownClaimsAsIs' => true,
'mappings' => [
],
'nameIdentifierFormat' => '<string>',
'nameIdentifierProbes' => [
'<string>'
],
'passthroughClaimsWithNoMapping' => true,
'recipient' => '<string>',
'signResponse' => true,
'signatureAlgorithm' => '<string>'
],
'sap_api' => [
'clientid' => '<string>',
'nameIdentifierFormat' => '<string>',
'scope' => '<string>',
'servicePassword' => '<string>',
'tokenEndpointUrl' => '<string>',
'usernameAttribute' => '<string>'
],
'sentry' => [
'base_url' => '<string>',
'org_slug' => '<string>'
],
'sharepoint' => [
'external_url' => [
'<string>'
],
'url' => '<string>'
],
'springcm' => [
'acsurl' => '<string>'
],
'sso_integration' => [
'name' => '<string>',
'version' => '<string>'
],
'wams' => [
'masterkey' => '<string>'
],
'wsfed' => [
],
'zendesk' => [
'accountName' => '<string>'
],
'zoom' => [
'account' => '<string>'
]
],
'allowed_clients' => [
'<string>'
],
'allowed_logout_urls' => [
'<string>'
],
'allowed_origins' => [
'<string>'
],
'async_approval_notification_channels' => [
],
'callbacks' => [
'<string>'
],
'client_aliases' => [
'<string>'
],
'client_authentication_methods' => [
],
'client_metadata' => [
],
'client_secret' => '<string>',
'cross_origin_authentication' => true,
'cross_origin_loc' => '<string>',
'custom_login_page' => '<string>',
'custom_login_page_on' => true,
'custom_login_page_preview' => '<string>',
'default_organization' => [
'flows' => [
'client_credentials'
],
'organization_id' => '<string>'
],
'description' => '<string>',
'encryption_key' => [
'cert' => '<string>',
'pub' => '<string>',
'subject' => '<string>'
],
'express_configuration' => [
'admin_login_domain' => '<string>',
'connection_profile_id' => '<string>',
'enable_client' => true,
'enable_organization' => true,
'initiate_login_uri_template' => '<string>',
'okta_oin_client_id' => '<string>',
'user_attribute_profile_id' => '<string>',
'linked_clients' => [
[
'client_id' => '<string>'
]
],
'oin_submission_id' => '<string>'
],
'fedcm_login' => [
'google' => [
'is_enabled' => false
]
],
'form_template' => '<string>',
'grant_types' => [
'<string>'
],
'initiate_login_uri' => '<string>',
'is_first_party' => true,
'is_token_endpoint_ip_header_trusted' => false,
'jwt_configuration' => [
'alg' => 'HS256',
'lifetime_in_seconds' => 36000,
'scopes' => [
],
'secret_encoded' => true
],
'logo_uri' => '<string>',
'mobile' => [
'android' => [
'app_package_name' => '',
'sha256_cert_fingerprints' => [
'<string>'
]
],
'ios' => [
'app_bundle_identifier' => '',
'team_id' => ''
]
],
'my_organization_configuration' => [
'allowed_strategies' => [
],
'connection_deletion_behavior' => 'allow',
'connection_profile_id' => '<string>',
'invitation_landing_client_id' => '<string>',
'user_attribute_profile_id' => '<string>'
],
'name' => '<string>',
'native_social_login' => [
'apple' => [
'enabled' => false
],
'facebook' => [
'enabled' => false
],
'google' => [
'enabled' => false
]
],
'oidc_backchannel_logout' => [
'backchannel_logout_initiators' => [
'selected_initiators' => [
]
],
'backchannel_logout_session_metadata' => [
'include' => true
],
'backchannel_logout_urls' => [
'<string>'
]
],
'oidc_conformant' => false,
'oidc_logout' => [
'backchannel_logout_initiators' => [
'selected_initiators' => [
]
],
'backchannel_logout_session_metadata' => [
'include' => true
],
'backchannel_logout_urls' => [
'<string>'
]
],
'organization_discovery_methods' => [
],
'organization_require_behavior' => 'no_prompt',
'organization_usage' => 'deny',
'par_request_expiry' => 305,
'refresh_token' => [
'expiration_type' => 'non-expiring',
'rotation_type' => 'non-rotating',
'idle_token_lifetime' => 2,
'infinite_idle_token_lifetime' => false,
'infinite_token_lifetime' => true,
'leeway' => 0,
'policies' => [
[
'audience' => '<string>',
'scope' => [
'<string>'
]
]
],
'token_lifetime' => 78894000
],
'require_proof_of_possession' => false,
'require_pushed_authorization_requests' => false,
'session_transfer' => [
'allow_refresh_token' => false,
'allowed_authentication_methods' => [
],
'can_create_session_transfer_token' => false,
'delegation' => [
'allow_delegated_access' => false,
'enforce_device_binding' => 'ip'
],
'enforce_cascade_revocation' => true,
'enforce_device_binding' => 'ip',
'enforce_online_refresh_tokens' => true
],
'signed_request_object' => [
'credentials' => [
[
'id' => '<string>'
]
],
'required' => false
],
'skip_non_verifiable_callback_uri_confirmation_prompt' => true,
'sso' => true,
'sso_disabled' => true,
'token_endpoint_auth_method' => 'none',
'token_exchange' => [
'allow_any_profile_of_type' => [
]
],
'token_quota' => [
'client_credentials' => [
'enforce' => true,
'per_day' => 1073741824,
'per_hour' => 1073741824
]
],
'web_origins' => [
'<string>'
]
]),
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/clients/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"addons\": {\n \"aws\": {\n \"lifetime_in_seconds\": 22050,\n \"principal\": \"<string>\",\n \"role\": \"<string>\"\n },\n \"azure_blob\": {\n \"accountName\": \"<string>\",\n \"blobName\": \"<string>\",\n \"blob_delete\": true,\n \"blob_read\": true,\n \"blob_write\": true,\n \"containerName\": \"<string>\",\n \"container_delete\": true,\n \"container_list\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"expiration\": 1,\n \"signedIdentifier\": \"<string>\",\n \"storageAccessKey\": \"<string>\"\n },\n \"azure_sb\": {\n \"entityPath\": \"<string>\",\n \"expiration\": 123,\n \"namespace\": \"<string>\",\n \"sasKey\": \"<string>\",\n \"sasKeyName\": \"<string>\"\n },\n \"box\": {},\n \"cloudbees\": {},\n \"concur\": {},\n \"dropbox\": {},\n \"echosign\": {\n \"domain\": \"<string>\"\n },\n \"egnyte\": {\n \"domain\": \"<string>\"\n },\n \"firebase\": {\n \"client_email\": \"<string>\",\n \"lifetime_in_seconds\": 123,\n \"private_key\": \"<string>\",\n \"private_key_id\": \"<string>\",\n \"secret\": \"<string>\"\n },\n \"newrelic\": {\n \"account\": \"<string>\"\n },\n \"oag\": {},\n \"office365\": {\n \"connection\": \"<string>\",\n \"domain\": \"<string>\"\n },\n \"salesforce\": {\n \"entity_id\": \"<string>\"\n },\n \"salesforce_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"samlp\": {\n \"audience\": \"<string>\",\n \"authnContextClassRef\": \"<string>\",\n \"createUpnClaim\": true,\n \"destination\": \"<string>\",\n \"digestAlgorithm\": \"<string>\",\n \"issuer\": \"<string>\",\n \"lifetimeInSeconds\": 123,\n \"mapIdentities\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"mappings\": {},\n \"nameIdentifierFormat\": \"<string>\",\n \"nameIdentifierProbes\": [\n \"<string>\"\n ],\n \"passthroughClaimsWithNoMapping\": true,\n \"recipient\": \"<string>\",\n \"signResponse\": true,\n \"signatureAlgorithm\": \"<string>\"\n },\n \"sap_api\": {\n \"clientid\": \"<string>\",\n \"nameIdentifierFormat\": \"<string>\",\n \"scope\": \"<string>\",\n \"servicePassword\": \"<string>\",\n \"tokenEndpointUrl\": \"<string>\",\n \"usernameAttribute\": \"<string>\"\n },\n \"sentry\": {\n \"base_url\": \"<string>\",\n \"org_slug\": \"<string>\"\n },\n \"sharepoint\": {\n \"external_url\": [\n \"<string>\"\n ],\n \"url\": \"<string>\"\n },\n \"springcm\": {\n \"acsurl\": \"<string>\"\n },\n \"sso_integration\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"wams\": {\n \"masterkey\": \"<string>\"\n },\n \"wsfed\": {},\n \"zendesk\": {\n \"accountName\": \"<string>\"\n },\n \"zoom\": {\n \"account\": \"<string>\"\n }\n },\n \"allowed_clients\": [\n \"<string>\"\n ],\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"allowed_origins\": [\n \"<string>\"\n ],\n \"async_approval_notification_channels\": [],\n \"callbacks\": [\n \"<string>\"\n ],\n \"client_aliases\": [\n \"<string>\"\n ],\n \"client_authentication_methods\": {},\n \"client_metadata\": {},\n \"client_secret\": \"<string>\",\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"<string>\",\n \"custom_login_page\": \"<string>\",\n \"custom_login_page_on\": true,\n \"custom_login_page_preview\": \"<string>\",\n \"default_organization\": {\n \"flows\": [\n \"client_credentials\"\n ],\n \"organization_id\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"encryption_key\": {\n \"cert\": \"<string>\",\n \"pub\": \"<string>\",\n \"subject\": \"<string>\"\n },\n \"express_configuration\": {\n \"admin_login_domain\": \"<string>\",\n \"connection_profile_id\": \"<string>\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"initiate_login_uri_template\": \"<string>\",\n \"okta_oin_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\",\n \"linked_clients\": [\n {\n \"client_id\": \"<string>\"\n }\n ],\n \"oin_submission_id\": \"<string>\"\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": false\n }\n },\n \"form_template\": \"<string>\",\n \"grant_types\": [\n \"<string>\"\n ],\n \"initiate_login_uri\": \"<string>\",\n \"is_first_party\": true,\n \"is_token_endpoint_ip_header_trusted\": false,\n \"jwt_configuration\": {\n \"alg\": \"HS256\",\n \"lifetime_in_seconds\": 36000,\n \"scopes\": {},\n \"secret_encoded\": true\n },\n \"logo_uri\": \"<string>\",\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"\",\n \"sha256_cert_fingerprints\": [\n \"<string>\"\n ]\n },\n \"ios\": {\n \"app_bundle_identifier\": \"\",\n \"team_id\": \"\"\n }\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [],\n \"connection_deletion_behavior\": \"allow\",\n \"connection_profile_id\": \"<string>\",\n \"invitation_landing_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": false\n },\n \"facebook\": {\n \"enabled\": false\n },\n \"google\": {\n \"enabled\": false\n }\n },\n \"oidc_backchannel_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"oidc_conformant\": false,\n \"oidc_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"organization_discovery_methods\": [],\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_usage\": \"deny\",\n \"par_request_expiry\": 305,\n \"refresh_token\": {\n \"expiration_type\": \"non-expiring\",\n \"rotation_type\": \"non-rotating\",\n \"idle_token_lifetime\": 2,\n \"infinite_idle_token_lifetime\": false,\n \"infinite_token_lifetime\": true,\n \"leeway\": 0,\n \"policies\": [\n {\n \"audience\": \"<string>\",\n \"scope\": [\n \"<string>\"\n ]\n }\n ],\n \"token_lifetime\": 78894000\n },\n \"require_proof_of_possession\": false,\n \"require_pushed_authorization_requests\": false,\n \"session_transfer\": {\n \"allow_refresh_token\": false,\n \"allowed_authentication_methods\": [],\n \"can_create_session_transfer_token\": false,\n \"delegation\": {\n \"allow_delegated_access\": false,\n \"enforce_device_binding\": \"ip\"\n },\n \"enforce_cascade_revocation\": true,\n \"enforce_device_binding\": \"ip\",\n \"enforce_online_refresh_tokens\": true\n },\n \"signed_request_object\": {\n \"credentials\": [\n {\n \"id\": \"<string>\"\n }\n ],\n \"required\": false\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"sso\": true,\n \"sso_disabled\": true,\n \"token_endpoint_auth_method\": \"none\",\n \"token_exchange\": {\n \"allow_any_profile_of_type\": []\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1073741824,\n \"per_hour\": 1073741824\n }\n },\n \"web_origins\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/clients/{id}")
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 \"addons\": {\n \"aws\": {\n \"lifetime_in_seconds\": 22050,\n \"principal\": \"<string>\",\n \"role\": \"<string>\"\n },\n \"azure_blob\": {\n \"accountName\": \"<string>\",\n \"blobName\": \"<string>\",\n \"blob_delete\": true,\n \"blob_read\": true,\n \"blob_write\": true,\n \"containerName\": \"<string>\",\n \"container_delete\": true,\n \"container_list\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"expiration\": 1,\n \"signedIdentifier\": \"<string>\",\n \"storageAccessKey\": \"<string>\"\n },\n \"azure_sb\": {\n \"entityPath\": \"<string>\",\n \"expiration\": 123,\n \"namespace\": \"<string>\",\n \"sasKey\": \"<string>\",\n \"sasKeyName\": \"<string>\"\n },\n \"box\": {},\n \"cloudbees\": {},\n \"concur\": {},\n \"dropbox\": {},\n \"echosign\": {\n \"domain\": \"<string>\"\n },\n \"egnyte\": {\n \"domain\": \"<string>\"\n },\n \"firebase\": {\n \"client_email\": \"<string>\",\n \"lifetime_in_seconds\": 123,\n \"private_key\": \"<string>\",\n \"private_key_id\": \"<string>\",\n \"secret\": \"<string>\"\n },\n \"newrelic\": {\n \"account\": \"<string>\"\n },\n \"oag\": {},\n \"office365\": {\n \"connection\": \"<string>\",\n \"domain\": \"<string>\"\n },\n \"salesforce\": {\n \"entity_id\": \"<string>\"\n },\n \"salesforce_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"samlp\": {\n \"audience\": \"<string>\",\n \"authnContextClassRef\": \"<string>\",\n \"createUpnClaim\": true,\n \"destination\": \"<string>\",\n \"digestAlgorithm\": \"<string>\",\n \"issuer\": \"<string>\",\n \"lifetimeInSeconds\": 123,\n \"mapIdentities\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"mappings\": {},\n \"nameIdentifierFormat\": \"<string>\",\n \"nameIdentifierProbes\": [\n \"<string>\"\n ],\n \"passthroughClaimsWithNoMapping\": true,\n \"recipient\": \"<string>\",\n \"signResponse\": true,\n \"signatureAlgorithm\": \"<string>\"\n },\n \"sap_api\": {\n \"clientid\": \"<string>\",\n \"nameIdentifierFormat\": \"<string>\",\n \"scope\": \"<string>\",\n \"servicePassword\": \"<string>\",\n \"tokenEndpointUrl\": \"<string>\",\n \"usernameAttribute\": \"<string>\"\n },\n \"sentry\": {\n \"base_url\": \"<string>\",\n \"org_slug\": \"<string>\"\n },\n \"sharepoint\": {\n \"external_url\": [\n \"<string>\"\n ],\n \"url\": \"<string>\"\n },\n \"springcm\": {\n \"acsurl\": \"<string>\"\n },\n \"sso_integration\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"wams\": {\n \"masterkey\": \"<string>\"\n },\n \"wsfed\": {},\n \"zendesk\": {\n \"accountName\": \"<string>\"\n },\n \"zoom\": {\n \"account\": \"<string>\"\n }\n },\n \"allowed_clients\": [\n \"<string>\"\n ],\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"allowed_origins\": [\n \"<string>\"\n ],\n \"async_approval_notification_channels\": [],\n \"callbacks\": [\n \"<string>\"\n ],\n \"client_aliases\": [\n \"<string>\"\n ],\n \"client_authentication_methods\": {},\n \"client_metadata\": {},\n \"client_secret\": \"<string>\",\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"<string>\",\n \"custom_login_page\": \"<string>\",\n \"custom_login_page_on\": true,\n \"custom_login_page_preview\": \"<string>\",\n \"default_organization\": {\n \"flows\": [\n \"client_credentials\"\n ],\n \"organization_id\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"encryption_key\": {\n \"cert\": \"<string>\",\n \"pub\": \"<string>\",\n \"subject\": \"<string>\"\n },\n \"express_configuration\": {\n \"admin_login_domain\": \"<string>\",\n \"connection_profile_id\": \"<string>\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"initiate_login_uri_template\": \"<string>\",\n \"okta_oin_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\",\n \"linked_clients\": [\n {\n \"client_id\": \"<string>\"\n }\n ],\n \"oin_submission_id\": \"<string>\"\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": false\n }\n },\n \"form_template\": \"<string>\",\n \"grant_types\": [\n \"<string>\"\n ],\n \"initiate_login_uri\": \"<string>\",\n \"is_first_party\": true,\n \"is_token_endpoint_ip_header_trusted\": false,\n \"jwt_configuration\": {\n \"alg\": \"HS256\",\n \"lifetime_in_seconds\": 36000,\n \"scopes\": {},\n \"secret_encoded\": true\n },\n \"logo_uri\": \"<string>\",\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"\",\n \"sha256_cert_fingerprints\": [\n \"<string>\"\n ]\n },\n \"ios\": {\n \"app_bundle_identifier\": \"\",\n \"team_id\": \"\"\n }\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [],\n \"connection_deletion_behavior\": \"allow\",\n \"connection_profile_id\": \"<string>\",\n \"invitation_landing_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": false\n },\n \"facebook\": {\n \"enabled\": false\n },\n \"google\": {\n \"enabled\": false\n }\n },\n \"oidc_backchannel_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"oidc_conformant\": false,\n \"oidc_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"organization_discovery_methods\": [],\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_usage\": \"deny\",\n \"par_request_expiry\": 305,\n \"refresh_token\": {\n \"expiration_type\": \"non-expiring\",\n \"rotation_type\": \"non-rotating\",\n \"idle_token_lifetime\": 2,\n \"infinite_idle_token_lifetime\": false,\n \"infinite_token_lifetime\": true,\n \"leeway\": 0,\n \"policies\": [\n {\n \"audience\": \"<string>\",\n \"scope\": [\n \"<string>\"\n ]\n }\n ],\n \"token_lifetime\": 78894000\n },\n \"require_proof_of_possession\": false,\n \"require_pushed_authorization_requests\": false,\n \"session_transfer\": {\n \"allow_refresh_token\": false,\n \"allowed_authentication_methods\": [],\n \"can_create_session_transfer_token\": false,\n \"delegation\": {\n \"allow_delegated_access\": false,\n \"enforce_device_binding\": \"ip\"\n },\n \"enforce_cascade_revocation\": true,\n \"enforce_device_binding\": \"ip\",\n \"enforce_online_refresh_tokens\": true\n },\n \"signed_request_object\": {\n \"credentials\": [\n {\n \"id\": \"<string>\"\n }\n ],\n \"required\": false\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"sso\": true,\n \"sso_disabled\": true,\n \"token_endpoint_auth_method\": \"none\",\n \"token_exchange\": {\n \"allow_any_profile_of_type\": []\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1073741824,\n \"per_hour\": 1073741824\n }\n },\n \"web_origins\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": true,
"blob_read": true,
"blob_write": true,
"containerName": "<string>",
"container_delete": true,
"container_list": true,
"container_read": true,
"container_write": true,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": {
"domain": "<string>"
},
"egnyte": {
"domain": "<string>"
},
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"layer": {
"keyId": "<string>",
"privateKey": "<string>",
"providerId": "<string>",
"expiration": 1,
"principal": "<string>"
},
"mscrm": {
"url": "<string>"
},
"newrelic": {
"account": "<string>"
},
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"rms": {
"url": "<string>"
},
"salesforce": {
"entity_id": "<string>"
},
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": true,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": true,
"mapUnknownClaimsAsIs": true,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": [
"<string>"
],
"passthroughClaimsWithNoMapping": true,
"recipient": "<string>",
"signResponse": true,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": [
"<string>"
],
"url": "<string>"
},
"slack": {
"team": "<string>"
},
"springcm": {
"acsurl": "<string>"
},
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": {
"masterkey": "<string>"
},
"wsfed": {},
"zendesk": {
"accountName": "<string>"
},
"zoom": {
"account": "<string>"
}
},
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"callbacks": [
"<string>"
],
"client_aliases": [
"<string>"
],
"client_authentication_methods": {
"private_key_jwt": {
"credentials": [
{
"id": "<string>"
}
]
},
"self_signed_tls_client_auth": {
"credentials": [
{
"id": "<string>"
}
]
},
"tls_client_auth": {
"credentials": [
{
"id": "<string>"
}
]
}
},
"client_id": "AaiyAPdpYdesoKnqjj8HJqRn4T5titww",
"client_metadata": {},
"client_secret": "MG_TNT2ver-SylNat-_VeMmd-4m0Waba0jr1troztBniSChEw0glxEmgEi2Kw40H",
"cross_origin_authentication": true,
"cross_origin_loc": "<string>",
"custom_login_page": "",
"custom_login_page_on": true,
"custom_login_page_preview": "",
"default_organization": {
"flows": [
"client_credentials"
],
"organization_id": "<string>"
},
"description": "",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": true,
"enable_organization": true,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [
{
"client_id": "<string>"
}
],
"oin_submission_id": "<string>"
},
"external_client_id": "<string>",
"fedcm_login": {
"google": {
"is_enabled": false
}
},
"form_template": "",
"global": false,
"grant_types": [
"<string>"
],
"initiate_login_uri": "<string>",
"is_first_party": false,
"is_token_endpoint_ip_header_trusted": false,
"jwks_uri": "<string>",
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": true
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": [
"<string>"
]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "My application",
"native_social_login": {
"apple": {
"enabled": false
},
"facebook": {
"enabled": false
},
"google": {
"enabled": false
}
},
"oidc_conformant": false,
"oidc_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": false,
"infinite_token_lifetime": true,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": [
"<string>"
]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": false,
"require_pushed_authorization_requests": false,
"resource_server_identifier": "<string>",
"session_transfer": {
"allow_refresh_token": false,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": false,
"delegation": {
"allow_delegated_access": false,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": true,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": true
},
"signed_request_object": {
"credentials": [
{
"id": "<string>"
}
],
"required": false
},
"signing_keys": [
{
"cert": "",
"pkcs7": "",
"subject": ""
}
],
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"sso": false,
"sso_disabled": false,
"tenant": "",
"token_endpoint_auth_method": "none",
"token_exchange": {
"allow_any_profile_of_type": []
},
"token_quota": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"web_origins": [
"<string>"
]
}id によるクライアントの更新
クライアントの設定を更新します。詳しくは、Applications in Auth0 および Single Sign-On を参照してください。
注:
client_secret属性とsigning_key属性は、update:client_keysスコープでのみ更新できます。client_authentication_methodsプロパティとtoken_endpoint_auth_methodプロパティは相互に排他的です。クライアントを Private Key JWT 認証で構成するにはclient_authentication_methodsを使用してください。それ以外の場合は、token_endpoint_auth_methodを使用して、クライアントシークレット(basic または post)または認証方法なし(none)でクライアントを構成してください。client_authentication_methodsを使用してクライアントを Private Key JWT 認証で構成する場合は、クライアントで認証情報を作成したときに生成されたクレデンシャル ID のみを指定してください。client_authentication_methodsを構成するには、update:client_credentialsスコープが必要です。client_authentication_methodsを構成するには、jwt_configuration.algプロパティを RS256 に設定する必要があります。- クライアントの
is_first_partyプロパティをfalseに変更するには、organization_usageプロパティとorganization_require_behaviorプロパティを未設定にする必要があります。
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.UpdateClientRequestContent{}
client.Clients.Update(
context.TODO(),
"id",
request,
)
}import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.clients.update("id", {});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.clients.update("id", {});
}
main();curl --request PATCH \
--url https://{tenantDomain}/api/v2/clients/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": true,
"blob_read": true,
"blob_write": true,
"containerName": "<string>",
"container_delete": true,
"container_list": true,
"container_read": true,
"container_write": true,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": {
"domain": "<string>"
},
"egnyte": {
"domain": "<string>"
},
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"newrelic": {
"account": "<string>"
},
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"salesforce": {
"entity_id": "<string>"
},
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": true,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": true,
"mapUnknownClaimsAsIs": true,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": [
"<string>"
],
"passthroughClaimsWithNoMapping": true,
"recipient": "<string>",
"signResponse": true,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": [
"<string>"
],
"url": "<string>"
},
"springcm": {
"acsurl": "<string>"
},
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": {
"masterkey": "<string>"
},
"wsfed": {},
"zendesk": {
"accountName": "<string>"
},
"zoom": {
"account": "<string>"
}
},
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"callbacks": [
"<string>"
],
"client_aliases": [
"<string>"
],
"client_authentication_methods": {},
"client_metadata": {},
"client_secret": "<string>",
"cross_origin_authentication": true,
"cross_origin_loc": "<string>",
"custom_login_page": "<string>",
"custom_login_page_on": true,
"custom_login_page_preview": "<string>",
"default_organization": {
"flows": [
"client_credentials"
],
"organization_id": "<string>"
},
"description": "<string>",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": true,
"enable_organization": true,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [
{
"client_id": "<string>"
}
],
"oin_submission_id": "<string>"
},
"fedcm_login": {
"google": {
"is_enabled": false
}
},
"form_template": "<string>",
"grant_types": [
"<string>"
],
"initiate_login_uri": "<string>",
"is_first_party": true,
"is_token_endpoint_ip_header_trusted": false,
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": true
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": [
"<string>"
]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "<string>",
"native_social_login": {
"apple": {
"enabled": false
},
"facebook": {
"enabled": false
},
"google": {
"enabled": false
}
},
"oidc_backchannel_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"oidc_conformant": false,
"oidc_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": false,
"infinite_token_lifetime": true,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": [
"<string>"
]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": false,
"require_pushed_authorization_requests": false,
"session_transfer": {
"allow_refresh_token": false,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": false,
"delegation": {
"allow_delegated_access": false,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": true,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": true
},
"signed_request_object": {
"credentials": [
{
"id": "<string>"
}
],
"required": false
},
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"sso": true,
"sso_disabled": true,
"token_endpoint_auth_method": "none",
"token_exchange": {
"allow_any_profile_of_type": []
},
"token_quota": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"web_origins": [
"<string>"
]
}
'import requests
url = "https://{tenantDomain}/api/v2/clients/{id}"
payload = {
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": True,
"blob_read": True,
"blob_write": True,
"containerName": "<string>",
"container_delete": True,
"container_list": True,
"container_read": True,
"container_write": True,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": { "domain": "<string>" },
"egnyte": { "domain": "<string>" },
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"newrelic": { "account": "<string>" },
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"salesforce": { "entity_id": "<string>" },
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": True,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": True,
"mapUnknownClaimsAsIs": True,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": ["<string>"],
"passthroughClaimsWithNoMapping": True,
"recipient": "<string>",
"signResponse": True,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": ["<string>"],
"url": "<string>"
},
"springcm": { "acsurl": "<string>" },
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": { "masterkey": "<string>" },
"wsfed": {},
"zendesk": { "accountName": "<string>" },
"zoom": { "account": "<string>" }
},
"allowed_clients": ["<string>"],
"allowed_logout_urls": ["<string>"],
"allowed_origins": ["<string>"],
"async_approval_notification_channels": [],
"callbacks": ["<string>"],
"client_aliases": ["<string>"],
"client_authentication_methods": {},
"client_metadata": {},
"client_secret": "<string>",
"cross_origin_authentication": True,
"cross_origin_loc": "<string>",
"custom_login_page": "<string>",
"custom_login_page_on": True,
"custom_login_page_preview": "<string>",
"default_organization": {
"flows": ["client_credentials"],
"organization_id": "<string>"
},
"description": "<string>",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": True,
"enable_organization": True,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [{ "client_id": "<string>" }],
"oin_submission_id": "<string>"
},
"fedcm_login": { "google": { "is_enabled": False } },
"form_template": "<string>",
"grant_types": ["<string>"],
"initiate_login_uri": "<string>",
"is_first_party": True,
"is_token_endpoint_ip_header_trusted": False,
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": True
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": ["<string>"]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "<string>",
"native_social_login": {
"apple": { "enabled": False },
"facebook": { "enabled": False },
"google": { "enabled": False }
},
"oidc_backchannel_logout": {
"backchannel_logout_initiators": { "selected_initiators": [] },
"backchannel_logout_session_metadata": { "include": True },
"backchannel_logout_urls": ["<string>"]
},
"oidc_conformant": False,
"oidc_logout": {
"backchannel_logout_initiators": { "selected_initiators": [] },
"backchannel_logout_session_metadata": { "include": True },
"backchannel_logout_urls": ["<string>"]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": False,
"infinite_token_lifetime": True,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": ["<string>"]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": False,
"require_pushed_authorization_requests": False,
"session_transfer": {
"allow_refresh_token": False,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": False,
"delegation": {
"allow_delegated_access": False,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": True,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": True
},
"signed_request_object": {
"credentials": [{ "id": "<string>" }],
"required": False
},
"skip_non_verifiable_callback_uri_confirmation_prompt": True,
"sso": True,
"sso_disabled": True,
"token_endpoint_auth_method": "none",
"token_exchange": { "allow_any_profile_of_type": [] },
"token_quota": { "client_credentials": {
"enforce": True,
"per_day": 1073741824,
"per_hour": 1073741824
} },
"web_origins": ["<string>"]
}
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/clients/{id}",
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([
'addons' => [
'aws' => [
'lifetime_in_seconds' => 22050,
'principal' => '<string>',
'role' => '<string>'
],
'azure_blob' => [
'accountName' => '<string>',
'blobName' => '<string>',
'blob_delete' => true,
'blob_read' => true,
'blob_write' => true,
'containerName' => '<string>',
'container_delete' => true,
'container_list' => true,
'container_read' => true,
'container_write' => true,
'expiration' => 1,
'signedIdentifier' => '<string>',
'storageAccessKey' => '<string>'
],
'azure_sb' => [
'entityPath' => '<string>',
'expiration' => 123,
'namespace' => '<string>',
'sasKey' => '<string>',
'sasKeyName' => '<string>'
],
'box' => [
],
'cloudbees' => [
],
'concur' => [
],
'dropbox' => [
],
'echosign' => [
'domain' => '<string>'
],
'egnyte' => [
'domain' => '<string>'
],
'firebase' => [
'client_email' => '<string>',
'lifetime_in_seconds' => 123,
'private_key' => '<string>',
'private_key_id' => '<string>',
'secret' => '<string>'
],
'newrelic' => [
'account' => '<string>'
],
'oag' => [
],
'office365' => [
'connection' => '<string>',
'domain' => '<string>'
],
'salesforce' => [
'entity_id' => '<string>'
],
'salesforce_api' => [
'clientid' => '<string>',
'communityName' => '<string>',
'community_url_section' => '<string>',
'principal' => '<string>'
],
'salesforce_sandbox_api' => [
'clientid' => '<string>',
'communityName' => '<string>',
'community_url_section' => '<string>',
'principal' => '<string>'
],
'samlp' => [
'audience' => '<string>',
'authnContextClassRef' => '<string>',
'createUpnClaim' => true,
'destination' => '<string>',
'digestAlgorithm' => '<string>',
'issuer' => '<string>',
'lifetimeInSeconds' => 123,
'mapIdentities' => true,
'mapUnknownClaimsAsIs' => true,
'mappings' => [
],
'nameIdentifierFormat' => '<string>',
'nameIdentifierProbes' => [
'<string>'
],
'passthroughClaimsWithNoMapping' => true,
'recipient' => '<string>',
'signResponse' => true,
'signatureAlgorithm' => '<string>'
],
'sap_api' => [
'clientid' => '<string>',
'nameIdentifierFormat' => '<string>',
'scope' => '<string>',
'servicePassword' => '<string>',
'tokenEndpointUrl' => '<string>',
'usernameAttribute' => '<string>'
],
'sentry' => [
'base_url' => '<string>',
'org_slug' => '<string>'
],
'sharepoint' => [
'external_url' => [
'<string>'
],
'url' => '<string>'
],
'springcm' => [
'acsurl' => '<string>'
],
'sso_integration' => [
'name' => '<string>',
'version' => '<string>'
],
'wams' => [
'masterkey' => '<string>'
],
'wsfed' => [
],
'zendesk' => [
'accountName' => '<string>'
],
'zoom' => [
'account' => '<string>'
]
],
'allowed_clients' => [
'<string>'
],
'allowed_logout_urls' => [
'<string>'
],
'allowed_origins' => [
'<string>'
],
'async_approval_notification_channels' => [
],
'callbacks' => [
'<string>'
],
'client_aliases' => [
'<string>'
],
'client_authentication_methods' => [
],
'client_metadata' => [
],
'client_secret' => '<string>',
'cross_origin_authentication' => true,
'cross_origin_loc' => '<string>',
'custom_login_page' => '<string>',
'custom_login_page_on' => true,
'custom_login_page_preview' => '<string>',
'default_organization' => [
'flows' => [
'client_credentials'
],
'organization_id' => '<string>'
],
'description' => '<string>',
'encryption_key' => [
'cert' => '<string>',
'pub' => '<string>',
'subject' => '<string>'
],
'express_configuration' => [
'admin_login_domain' => '<string>',
'connection_profile_id' => '<string>',
'enable_client' => true,
'enable_organization' => true,
'initiate_login_uri_template' => '<string>',
'okta_oin_client_id' => '<string>',
'user_attribute_profile_id' => '<string>',
'linked_clients' => [
[
'client_id' => '<string>'
]
],
'oin_submission_id' => '<string>'
],
'fedcm_login' => [
'google' => [
'is_enabled' => false
]
],
'form_template' => '<string>',
'grant_types' => [
'<string>'
],
'initiate_login_uri' => '<string>',
'is_first_party' => true,
'is_token_endpoint_ip_header_trusted' => false,
'jwt_configuration' => [
'alg' => 'HS256',
'lifetime_in_seconds' => 36000,
'scopes' => [
],
'secret_encoded' => true
],
'logo_uri' => '<string>',
'mobile' => [
'android' => [
'app_package_name' => '',
'sha256_cert_fingerprints' => [
'<string>'
]
],
'ios' => [
'app_bundle_identifier' => '',
'team_id' => ''
]
],
'my_organization_configuration' => [
'allowed_strategies' => [
],
'connection_deletion_behavior' => 'allow',
'connection_profile_id' => '<string>',
'invitation_landing_client_id' => '<string>',
'user_attribute_profile_id' => '<string>'
],
'name' => '<string>',
'native_social_login' => [
'apple' => [
'enabled' => false
],
'facebook' => [
'enabled' => false
],
'google' => [
'enabled' => false
]
],
'oidc_backchannel_logout' => [
'backchannel_logout_initiators' => [
'selected_initiators' => [
]
],
'backchannel_logout_session_metadata' => [
'include' => true
],
'backchannel_logout_urls' => [
'<string>'
]
],
'oidc_conformant' => false,
'oidc_logout' => [
'backchannel_logout_initiators' => [
'selected_initiators' => [
]
],
'backchannel_logout_session_metadata' => [
'include' => true
],
'backchannel_logout_urls' => [
'<string>'
]
],
'organization_discovery_methods' => [
],
'organization_require_behavior' => 'no_prompt',
'organization_usage' => 'deny',
'par_request_expiry' => 305,
'refresh_token' => [
'expiration_type' => 'non-expiring',
'rotation_type' => 'non-rotating',
'idle_token_lifetime' => 2,
'infinite_idle_token_lifetime' => false,
'infinite_token_lifetime' => true,
'leeway' => 0,
'policies' => [
[
'audience' => '<string>',
'scope' => [
'<string>'
]
]
],
'token_lifetime' => 78894000
],
'require_proof_of_possession' => false,
'require_pushed_authorization_requests' => false,
'session_transfer' => [
'allow_refresh_token' => false,
'allowed_authentication_methods' => [
],
'can_create_session_transfer_token' => false,
'delegation' => [
'allow_delegated_access' => false,
'enforce_device_binding' => 'ip'
],
'enforce_cascade_revocation' => true,
'enforce_device_binding' => 'ip',
'enforce_online_refresh_tokens' => true
],
'signed_request_object' => [
'credentials' => [
[
'id' => '<string>'
]
],
'required' => false
],
'skip_non_verifiable_callback_uri_confirmation_prompt' => true,
'sso' => true,
'sso_disabled' => true,
'token_endpoint_auth_method' => 'none',
'token_exchange' => [
'allow_any_profile_of_type' => [
]
],
'token_quota' => [
'client_credentials' => [
'enforce' => true,
'per_day' => 1073741824,
'per_hour' => 1073741824
]
],
'web_origins' => [
'<string>'
]
]),
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/clients/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"addons\": {\n \"aws\": {\n \"lifetime_in_seconds\": 22050,\n \"principal\": \"<string>\",\n \"role\": \"<string>\"\n },\n \"azure_blob\": {\n \"accountName\": \"<string>\",\n \"blobName\": \"<string>\",\n \"blob_delete\": true,\n \"blob_read\": true,\n \"blob_write\": true,\n \"containerName\": \"<string>\",\n \"container_delete\": true,\n \"container_list\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"expiration\": 1,\n \"signedIdentifier\": \"<string>\",\n \"storageAccessKey\": \"<string>\"\n },\n \"azure_sb\": {\n \"entityPath\": \"<string>\",\n \"expiration\": 123,\n \"namespace\": \"<string>\",\n \"sasKey\": \"<string>\",\n \"sasKeyName\": \"<string>\"\n },\n \"box\": {},\n \"cloudbees\": {},\n \"concur\": {},\n \"dropbox\": {},\n \"echosign\": {\n \"domain\": \"<string>\"\n },\n \"egnyte\": {\n \"domain\": \"<string>\"\n },\n \"firebase\": {\n \"client_email\": \"<string>\",\n \"lifetime_in_seconds\": 123,\n \"private_key\": \"<string>\",\n \"private_key_id\": \"<string>\",\n \"secret\": \"<string>\"\n },\n \"newrelic\": {\n \"account\": \"<string>\"\n },\n \"oag\": {},\n \"office365\": {\n \"connection\": \"<string>\",\n \"domain\": \"<string>\"\n },\n \"salesforce\": {\n \"entity_id\": \"<string>\"\n },\n \"salesforce_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"samlp\": {\n \"audience\": \"<string>\",\n \"authnContextClassRef\": \"<string>\",\n \"createUpnClaim\": true,\n \"destination\": \"<string>\",\n \"digestAlgorithm\": \"<string>\",\n \"issuer\": \"<string>\",\n \"lifetimeInSeconds\": 123,\n \"mapIdentities\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"mappings\": {},\n \"nameIdentifierFormat\": \"<string>\",\n \"nameIdentifierProbes\": [\n \"<string>\"\n ],\n \"passthroughClaimsWithNoMapping\": true,\n \"recipient\": \"<string>\",\n \"signResponse\": true,\n \"signatureAlgorithm\": \"<string>\"\n },\n \"sap_api\": {\n \"clientid\": \"<string>\",\n \"nameIdentifierFormat\": \"<string>\",\n \"scope\": \"<string>\",\n \"servicePassword\": \"<string>\",\n \"tokenEndpointUrl\": \"<string>\",\n \"usernameAttribute\": \"<string>\"\n },\n \"sentry\": {\n \"base_url\": \"<string>\",\n \"org_slug\": \"<string>\"\n },\n \"sharepoint\": {\n \"external_url\": [\n \"<string>\"\n ],\n \"url\": \"<string>\"\n },\n \"springcm\": {\n \"acsurl\": \"<string>\"\n },\n \"sso_integration\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"wams\": {\n \"masterkey\": \"<string>\"\n },\n \"wsfed\": {},\n \"zendesk\": {\n \"accountName\": \"<string>\"\n },\n \"zoom\": {\n \"account\": \"<string>\"\n }\n },\n \"allowed_clients\": [\n \"<string>\"\n ],\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"allowed_origins\": [\n \"<string>\"\n ],\n \"async_approval_notification_channels\": [],\n \"callbacks\": [\n \"<string>\"\n ],\n \"client_aliases\": [\n \"<string>\"\n ],\n \"client_authentication_methods\": {},\n \"client_metadata\": {},\n \"client_secret\": \"<string>\",\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"<string>\",\n \"custom_login_page\": \"<string>\",\n \"custom_login_page_on\": true,\n \"custom_login_page_preview\": \"<string>\",\n \"default_organization\": {\n \"flows\": [\n \"client_credentials\"\n ],\n \"organization_id\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"encryption_key\": {\n \"cert\": \"<string>\",\n \"pub\": \"<string>\",\n \"subject\": \"<string>\"\n },\n \"express_configuration\": {\n \"admin_login_domain\": \"<string>\",\n \"connection_profile_id\": \"<string>\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"initiate_login_uri_template\": \"<string>\",\n \"okta_oin_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\",\n \"linked_clients\": [\n {\n \"client_id\": \"<string>\"\n }\n ],\n \"oin_submission_id\": \"<string>\"\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": false\n }\n },\n \"form_template\": \"<string>\",\n \"grant_types\": [\n \"<string>\"\n ],\n \"initiate_login_uri\": \"<string>\",\n \"is_first_party\": true,\n \"is_token_endpoint_ip_header_trusted\": false,\n \"jwt_configuration\": {\n \"alg\": \"HS256\",\n \"lifetime_in_seconds\": 36000,\n \"scopes\": {},\n \"secret_encoded\": true\n },\n \"logo_uri\": \"<string>\",\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"\",\n \"sha256_cert_fingerprints\": [\n \"<string>\"\n ]\n },\n \"ios\": {\n \"app_bundle_identifier\": \"\",\n \"team_id\": \"\"\n }\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [],\n \"connection_deletion_behavior\": \"allow\",\n \"connection_profile_id\": \"<string>\",\n \"invitation_landing_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": false\n },\n \"facebook\": {\n \"enabled\": false\n },\n \"google\": {\n \"enabled\": false\n }\n },\n \"oidc_backchannel_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"oidc_conformant\": false,\n \"oidc_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"organization_discovery_methods\": [],\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_usage\": \"deny\",\n \"par_request_expiry\": 305,\n \"refresh_token\": {\n \"expiration_type\": \"non-expiring\",\n \"rotation_type\": \"non-rotating\",\n \"idle_token_lifetime\": 2,\n \"infinite_idle_token_lifetime\": false,\n \"infinite_token_lifetime\": true,\n \"leeway\": 0,\n \"policies\": [\n {\n \"audience\": \"<string>\",\n \"scope\": [\n \"<string>\"\n ]\n }\n ],\n \"token_lifetime\": 78894000\n },\n \"require_proof_of_possession\": false,\n \"require_pushed_authorization_requests\": false,\n \"session_transfer\": {\n \"allow_refresh_token\": false,\n \"allowed_authentication_methods\": [],\n \"can_create_session_transfer_token\": false,\n \"delegation\": {\n \"allow_delegated_access\": false,\n \"enforce_device_binding\": \"ip\"\n },\n \"enforce_cascade_revocation\": true,\n \"enforce_device_binding\": \"ip\",\n \"enforce_online_refresh_tokens\": true\n },\n \"signed_request_object\": {\n \"credentials\": [\n {\n \"id\": \"<string>\"\n }\n ],\n \"required\": false\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"sso\": true,\n \"sso_disabled\": true,\n \"token_endpoint_auth_method\": \"none\",\n \"token_exchange\": {\n \"allow_any_profile_of_type\": []\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1073741824,\n \"per_hour\": 1073741824\n }\n },\n \"web_origins\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/clients/{id}")
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 \"addons\": {\n \"aws\": {\n \"lifetime_in_seconds\": 22050,\n \"principal\": \"<string>\",\n \"role\": \"<string>\"\n },\n \"azure_blob\": {\n \"accountName\": \"<string>\",\n \"blobName\": \"<string>\",\n \"blob_delete\": true,\n \"blob_read\": true,\n \"blob_write\": true,\n \"containerName\": \"<string>\",\n \"container_delete\": true,\n \"container_list\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"expiration\": 1,\n \"signedIdentifier\": \"<string>\",\n \"storageAccessKey\": \"<string>\"\n },\n \"azure_sb\": {\n \"entityPath\": \"<string>\",\n \"expiration\": 123,\n \"namespace\": \"<string>\",\n \"sasKey\": \"<string>\",\n \"sasKeyName\": \"<string>\"\n },\n \"box\": {},\n \"cloudbees\": {},\n \"concur\": {},\n \"dropbox\": {},\n \"echosign\": {\n \"domain\": \"<string>\"\n },\n \"egnyte\": {\n \"domain\": \"<string>\"\n },\n \"firebase\": {\n \"client_email\": \"<string>\",\n \"lifetime_in_seconds\": 123,\n \"private_key\": \"<string>\",\n \"private_key_id\": \"<string>\",\n \"secret\": \"<string>\"\n },\n \"newrelic\": {\n \"account\": \"<string>\"\n },\n \"oag\": {},\n \"office365\": {\n \"connection\": \"<string>\",\n \"domain\": \"<string>\"\n },\n \"salesforce\": {\n \"entity_id\": \"<string>\"\n },\n \"salesforce_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"<string>\",\n \"communityName\": \"<string>\",\n \"community_url_section\": \"<string>\",\n \"principal\": \"<string>\"\n },\n \"samlp\": {\n \"audience\": \"<string>\",\n \"authnContextClassRef\": \"<string>\",\n \"createUpnClaim\": true,\n \"destination\": \"<string>\",\n \"digestAlgorithm\": \"<string>\",\n \"issuer\": \"<string>\",\n \"lifetimeInSeconds\": 123,\n \"mapIdentities\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"mappings\": {},\n \"nameIdentifierFormat\": \"<string>\",\n \"nameIdentifierProbes\": [\n \"<string>\"\n ],\n \"passthroughClaimsWithNoMapping\": true,\n \"recipient\": \"<string>\",\n \"signResponse\": true,\n \"signatureAlgorithm\": \"<string>\"\n },\n \"sap_api\": {\n \"clientid\": \"<string>\",\n \"nameIdentifierFormat\": \"<string>\",\n \"scope\": \"<string>\",\n \"servicePassword\": \"<string>\",\n \"tokenEndpointUrl\": \"<string>\",\n \"usernameAttribute\": \"<string>\"\n },\n \"sentry\": {\n \"base_url\": \"<string>\",\n \"org_slug\": \"<string>\"\n },\n \"sharepoint\": {\n \"external_url\": [\n \"<string>\"\n ],\n \"url\": \"<string>\"\n },\n \"springcm\": {\n \"acsurl\": \"<string>\"\n },\n \"sso_integration\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"wams\": {\n \"masterkey\": \"<string>\"\n },\n \"wsfed\": {},\n \"zendesk\": {\n \"accountName\": \"<string>\"\n },\n \"zoom\": {\n \"account\": \"<string>\"\n }\n },\n \"allowed_clients\": [\n \"<string>\"\n ],\n \"allowed_logout_urls\": [\n \"<string>\"\n ],\n \"allowed_origins\": [\n \"<string>\"\n ],\n \"async_approval_notification_channels\": [],\n \"callbacks\": [\n \"<string>\"\n ],\n \"client_aliases\": [\n \"<string>\"\n ],\n \"client_authentication_methods\": {},\n \"client_metadata\": {},\n \"client_secret\": \"<string>\",\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"<string>\",\n \"custom_login_page\": \"<string>\",\n \"custom_login_page_on\": true,\n \"custom_login_page_preview\": \"<string>\",\n \"default_organization\": {\n \"flows\": [\n \"client_credentials\"\n ],\n \"organization_id\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"encryption_key\": {\n \"cert\": \"<string>\",\n \"pub\": \"<string>\",\n \"subject\": \"<string>\"\n },\n \"express_configuration\": {\n \"admin_login_domain\": \"<string>\",\n \"connection_profile_id\": \"<string>\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"initiate_login_uri_template\": \"<string>\",\n \"okta_oin_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\",\n \"linked_clients\": [\n {\n \"client_id\": \"<string>\"\n }\n ],\n \"oin_submission_id\": \"<string>\"\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": false\n }\n },\n \"form_template\": \"<string>\",\n \"grant_types\": [\n \"<string>\"\n ],\n \"initiate_login_uri\": \"<string>\",\n \"is_first_party\": true,\n \"is_token_endpoint_ip_header_trusted\": false,\n \"jwt_configuration\": {\n \"alg\": \"HS256\",\n \"lifetime_in_seconds\": 36000,\n \"scopes\": {},\n \"secret_encoded\": true\n },\n \"logo_uri\": \"<string>\",\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"\",\n \"sha256_cert_fingerprints\": [\n \"<string>\"\n ]\n },\n \"ios\": {\n \"app_bundle_identifier\": \"\",\n \"team_id\": \"\"\n }\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [],\n \"connection_deletion_behavior\": \"allow\",\n \"connection_profile_id\": \"<string>\",\n \"invitation_landing_client_id\": \"<string>\",\n \"user_attribute_profile_id\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": false\n },\n \"facebook\": {\n \"enabled\": false\n },\n \"google\": {\n \"enabled\": false\n }\n },\n \"oidc_backchannel_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"oidc_conformant\": false,\n \"oidc_logout\": {\n \"backchannel_logout_initiators\": {\n \"selected_initiators\": []\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n },\n \"backchannel_logout_urls\": [\n \"<string>\"\n ]\n },\n \"organization_discovery_methods\": [],\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_usage\": \"deny\",\n \"par_request_expiry\": 305,\n \"refresh_token\": {\n \"expiration_type\": \"non-expiring\",\n \"rotation_type\": \"non-rotating\",\n \"idle_token_lifetime\": 2,\n \"infinite_idle_token_lifetime\": false,\n \"infinite_token_lifetime\": true,\n \"leeway\": 0,\n \"policies\": [\n {\n \"audience\": \"<string>\",\n \"scope\": [\n \"<string>\"\n ]\n }\n ],\n \"token_lifetime\": 78894000\n },\n \"require_proof_of_possession\": false,\n \"require_pushed_authorization_requests\": false,\n \"session_transfer\": {\n \"allow_refresh_token\": false,\n \"allowed_authentication_methods\": [],\n \"can_create_session_transfer_token\": false,\n \"delegation\": {\n \"allow_delegated_access\": false,\n \"enforce_device_binding\": \"ip\"\n },\n \"enforce_cascade_revocation\": true,\n \"enforce_device_binding\": \"ip\",\n \"enforce_online_refresh_tokens\": true\n },\n \"signed_request_object\": {\n \"credentials\": [\n {\n \"id\": \"<string>\"\n }\n ],\n \"required\": false\n },\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"sso\": true,\n \"sso_disabled\": true,\n \"token_endpoint_auth_method\": \"none\",\n \"token_exchange\": {\n \"allow_any_profile_of_type\": []\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1073741824,\n \"per_hour\": 1073741824\n }\n },\n \"web_origins\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"addons": {
"aws": {
"lifetime_in_seconds": 22050,
"principal": "<string>",
"role": "<string>"
},
"azure_blob": {
"accountName": "<string>",
"blobName": "<string>",
"blob_delete": true,
"blob_read": true,
"blob_write": true,
"containerName": "<string>",
"container_delete": true,
"container_list": true,
"container_read": true,
"container_write": true,
"expiration": 1,
"signedIdentifier": "<string>",
"storageAccessKey": "<string>"
},
"azure_sb": {
"entityPath": "<string>",
"expiration": 123,
"namespace": "<string>",
"sasKey": "<string>",
"sasKeyName": "<string>"
},
"box": {},
"cloudbees": {},
"concur": {},
"dropbox": {},
"echosign": {
"domain": "<string>"
},
"egnyte": {
"domain": "<string>"
},
"firebase": {
"client_email": "<string>",
"lifetime_in_seconds": 123,
"private_key": "<string>",
"private_key_id": "<string>",
"secret": "<string>"
},
"layer": {
"keyId": "<string>",
"privateKey": "<string>",
"providerId": "<string>",
"expiration": 1,
"principal": "<string>"
},
"mscrm": {
"url": "<string>"
},
"newrelic": {
"account": "<string>"
},
"oag": {},
"office365": {
"connection": "<string>",
"domain": "<string>"
},
"rms": {
"url": "<string>"
},
"salesforce": {
"entity_id": "<string>"
},
"salesforce_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"salesforce_sandbox_api": {
"clientid": "<string>",
"communityName": "<string>",
"community_url_section": "<string>",
"principal": "<string>"
},
"samlp": {
"audience": "<string>",
"authnContextClassRef": "<string>",
"createUpnClaim": true,
"destination": "<string>",
"digestAlgorithm": "<string>",
"issuer": "<string>",
"lifetimeInSeconds": 123,
"mapIdentities": true,
"mapUnknownClaimsAsIs": true,
"mappings": {},
"nameIdentifierFormat": "<string>",
"nameIdentifierProbes": [
"<string>"
],
"passthroughClaimsWithNoMapping": true,
"recipient": "<string>",
"signResponse": true,
"signatureAlgorithm": "<string>"
},
"sap_api": {
"clientid": "<string>",
"nameIdentifierFormat": "<string>",
"scope": "<string>",
"servicePassword": "<string>",
"tokenEndpointUrl": "<string>",
"usernameAttribute": "<string>"
},
"sentry": {
"base_url": "<string>",
"org_slug": "<string>"
},
"sharepoint": {
"external_url": [
"<string>"
],
"url": "<string>"
},
"slack": {
"team": "<string>"
},
"springcm": {
"acsurl": "<string>"
},
"sso_integration": {
"name": "<string>",
"version": "<string>"
},
"wams": {
"masterkey": "<string>"
},
"wsfed": {},
"zendesk": {
"accountName": "<string>"
},
"zoom": {
"account": "<string>"
}
},
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"callbacks": [
"<string>"
],
"client_aliases": [
"<string>"
],
"client_authentication_methods": {
"private_key_jwt": {
"credentials": [
{
"id": "<string>"
}
]
},
"self_signed_tls_client_auth": {
"credentials": [
{
"id": "<string>"
}
]
},
"tls_client_auth": {
"credentials": [
{
"id": "<string>"
}
]
}
},
"client_id": "AaiyAPdpYdesoKnqjj8HJqRn4T5titww",
"client_metadata": {},
"client_secret": "MG_TNT2ver-SylNat-_VeMmd-4m0Waba0jr1troztBniSChEw0glxEmgEi2Kw40H",
"cross_origin_authentication": true,
"cross_origin_loc": "<string>",
"custom_login_page": "",
"custom_login_page_on": true,
"custom_login_page_preview": "",
"default_organization": {
"flows": [
"client_credentials"
],
"organization_id": "<string>"
},
"description": "",
"encryption_key": {
"cert": "<string>",
"pub": "<string>",
"subject": "<string>"
},
"express_configuration": {
"admin_login_domain": "<string>",
"connection_profile_id": "<string>",
"enable_client": true,
"enable_organization": true,
"initiate_login_uri_template": "<string>",
"okta_oin_client_id": "<string>",
"user_attribute_profile_id": "<string>",
"linked_clients": [
{
"client_id": "<string>"
}
],
"oin_submission_id": "<string>"
},
"external_client_id": "<string>",
"fedcm_login": {
"google": {
"is_enabled": false
}
},
"form_template": "",
"global": false,
"grant_types": [
"<string>"
],
"initiate_login_uri": "<string>",
"is_first_party": false,
"is_token_endpoint_ip_header_trusted": false,
"jwks_uri": "<string>",
"jwt_configuration": {
"alg": "HS256",
"lifetime_in_seconds": 36000,
"scopes": {},
"secret_encoded": true
},
"logo_uri": "<string>",
"mobile": {
"android": {
"app_package_name": "",
"sha256_cert_fingerprints": [
"<string>"
]
},
"ios": {
"app_bundle_identifier": "",
"team_id": ""
}
},
"my_organization_configuration": {
"allowed_strategies": [],
"connection_deletion_behavior": "allow",
"connection_profile_id": "<string>",
"invitation_landing_client_id": "<string>",
"user_attribute_profile_id": "<string>"
},
"name": "My application",
"native_social_login": {
"apple": {
"enabled": false
},
"facebook": {
"enabled": false
},
"google": {
"enabled": false
}
},
"oidc_conformant": false,
"oidc_logout": {
"backchannel_logout_initiators": {
"selected_initiators": []
},
"backchannel_logout_session_metadata": {
"include": true
},
"backchannel_logout_urls": [
"<string>"
]
},
"organization_discovery_methods": [],
"organization_require_behavior": "no_prompt",
"organization_usage": "deny",
"par_request_expiry": 305,
"refresh_token": {
"expiration_type": "non-expiring",
"rotation_type": "non-rotating",
"idle_token_lifetime": 2,
"infinite_idle_token_lifetime": false,
"infinite_token_lifetime": true,
"leeway": 0,
"policies": [
{
"audience": "<string>",
"scope": [
"<string>"
]
}
],
"token_lifetime": 78894000
},
"require_proof_of_possession": false,
"require_pushed_authorization_requests": false,
"resource_server_identifier": "<string>",
"session_transfer": {
"allow_refresh_token": false,
"allowed_authentication_methods": [],
"can_create_session_transfer_token": false,
"delegation": {
"allow_delegated_access": false,
"enforce_device_binding": "ip"
},
"enforce_cascade_revocation": true,
"enforce_device_binding": "ip",
"enforce_online_refresh_tokens": true
},
"signed_request_object": {
"credentials": [
{
"id": "<string>"
}
],
"required": false
},
"signing_keys": [
{
"cert": "",
"pkcs7": "",
"subject": ""
}
],
"skip_non_verifiable_callback_uri_confirmation_prompt": true,
"sso": false,
"sso_disabled": false,
"tenant": "",
"token_endpoint_auth_method": "none",
"token_exchange": {
"allow_any_profile_of_type": []
},
"token_quota": {
"client_credentials": {
"enforce": true,
"per_day": 1073741824,
"per_hour": 1073741824
}
},
"web_origins": [
"<string>"
]
}承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
パスパラメータ
更新するクライアントの ID。
ボディ
このクライアントで有効になっているアドオンと、それぞれに関連付けられた設定。
Show child attributes
Show child attributes
デリゲーションリクエストの実行を許可するクライアントの id。一覧を指定しない場合は、デフォルトですべてのクライアントが許可されます。このフィールドを使用すると、特定のクライアントを指定できます。
1Auth0 からログアウトした後のリダイレクト先として有効な URL
CORS で有効なオリジンを表す URL のセット
このクライアントが表すアプリケーションの種類
native, spa, regular_web, non_interactive, resource_server, express_configuration, rms, box, cloudbees, concur, dropbox, mscrm, echosign, egnyte, newrelic, office365, salesforce, sentry, sharepoint, slack, springcm, zendesk, zoom, sso_integration, oag 承認が必要な場合にユーザーに通知するための通知チャネルの配列。有効な値は guardian-push、email です。
1guardian-push, email ユーザー認証時に Auth0 からコールバックできる有効な URL のセット
SAML プロトコルのオーディエンスの一覧
1クライアント認証方法を定義します。
Show child attributes
Show child attributes
クライアントに関連付けられたメタデータ。文字列値を持つオブジェクト形式です(最大255文字)。メタデータのプロパティは最大10件まで指定できます。フィールド名(最大255文字)は英数字で、使用できる特殊文字は次のとおりです: :,-+=_*?"/\()<>@\t[Tab] [Space]
クライアントのトークン署名に使用するシークレット
1このクライアントの準拠レベルを定義します。これにより、機能が制限される場合があります。
none, fapi1_adv_pkj_par, fapi1_adv_mtls_par, fapi2_sp_pkj_mtls, fapi2_sp_mtls_mtls, null このクライアントをクロスオリジン認証リクエストに使用できる場合は true、クロスオリジンが無効な場合は false
Auth0 のホスト型ログインページではなく独自ドメインで認証を実行する場合に、クロスオリジン認証フローでクロスオリジン検証を行うサイト上の場所の URL。
カスタムログインページのコンテンツ(HTML、CSS、JS)
カスタムログインページを使用する場合は true、それ以外の場合は false。
デフォルトの組織 ID とフローを定義します。
Show child attributes
Show child attributes
クライアントの用途に関する自由記述の説明です。(最大文字数: 140)
140クライアントの暗号化キー
Show child attributes
Show child attributes
OIN Express Configuration 機能で使用するアプリケーション固有の設定。
Show child attributes
Show child attributes
New Universal Login の FedCM ログイン設定の構成
Show child attributes
Show child attributes
WS-Federation プロトコル用のフォームテンプレート
クライアントが使用を許可されているグラントタイプのセット。authorization_code、implicit、refresh_token、client_credentials、password、http://auth0.com/oauth/grant-type/password-realm、http://auth0.com/oauth/grant-type/mfa-oob、http://auth0.com/oauth/grant-type/mfa-otp、http://auth0.com/oauth/grant-type/mfa-recovery-code、urn:openid:params:grant-type:ciba、urn:ietf:params:oauth:grant-type:device_code、urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token を含めることができます。
1ログイン開始 URI。https である必要があります
このクライアントがファーストパーティクライアントかどうか
true の場合、トークンエンドポイントのブルートフォース対策において、auth0-forwarded-for ヘッダーで指定された IP をエンドユーザーの IP として信頼します。
JWT の作成方法に関する設定を保持するオブジェクト
Show child attributes
Show child attributes
クライアントロゴの URL(推奨サイズ: 150x150)
ネイティブモバイルアプリに関する設定
Show child attributes
Show child attributes
クライアントの My Organization Configuration に関連する設定。
Show child attributes
Show child attributes
クライアントの名前。1 文字以上である必要があります。'<' または '>' は使用できません。
^[^<>]+$ネイティブソーシャルの設定
Show child attributes
Show child attributes
OIDC バックチャネルログアウトの設定(非推奨。代わりに oidc_logout を使用)
Show child attributes
Show child attributes
このクライアントが厳密な OIDC 仕様に準拠するかどうか
OIDC バックチャネルログアウトの設定
Show child attributes
Show child attributes
pre_login_prompt での組織検出に使用できる方法を定義します。ユーザーは email、organization_name、またはその両方を使って自分の組織を検出できます。
1pre_login_prompt 中に組織を特定する方法。email では、ユーザーがメールアドレスを入力してドメイン照合を行うことで組織を見つけられます。一方、organization_name では、ユーザーが組織名を直接入力する必要があります。これらの方法は組み合わせて使用できます。
email, organization_name client.organization_usage: 'require' の場合に、認証トランザクション中の処理方法を定義します。no_prompt(デフォルト)、pre_login_prompt、post_login_prompt のいずれかを指定できます。post_login_prompt には oidc_conformant: true が必要です。
no_prompt, pre_login_prompt, post_login_prompt, null 組織に関して、認証トランザクション中にどのように処理を進めるかを定義します。deny(デフォルト)、allow、require のいずれかを指定できます。
deny, allow, require, null プッシュ型認可リクエスト URI が有効な期間を秒単位で指定します
10 <= x <= 600認証エラー時、またはメールアドレス確認フローで、Auth0 がユーザーをアプリケーションのコールバックURLにリダイレクトするかどうかを制御します。open_redirect_protection はリダイレクトの代わりにエラーページを表示し、メールテンプレートからコールバック ドメインを非表示にします。allow_always は標準のリダイレクト動作を有効にします。サードパーティ クライアントでは、デフォルトで open_redirect_protection が使用されます。これは is_first_party が false で、かつ third_party_security_mode が strict の場合にのみ適用されます。詳細は、Redirect protection を参照してください。
allow_always, open_redirect_protection リフレッシュトークンの設定
Show child attributes
Show child attributes
このクライアントでは所有証明の使用が必須です
このクライアントでは、プッシュ型認可リクエストの使用が必須になります
ネイティブから Web への SSO の設定
Show child attributes
Show child attributes
JWT-Secured Authorization Requests(JAR)の設定。
Show child attributes
Show child attributes
リダイレクト URI に検証不能なコールバック URI(たとえば、myapp:// のようなカスタム URI スキームや localhost)が使用されている場合に、ログインフロー中に確認プロンプトを表示するかどうかを制御します。
true に設定すると、確認プロンプトは表示されません。悪意のあるアプリによるなりすましへの保護を強化するため、この設定は false にすることを推奨します。
詳細については、https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation を参照してください。
シングルサインオンの実行に IdP ではなく Auth0 を使用する場合は true、それ以外の場合は false(デフォルト: false)
シングルサインオンを無効にする場合は true、それ以外の場合は false(デフォルト: false)
サードパーティクライアントのセキュリティモード。strictは強化されたセキュリティ制御を適用します。これには、OAuth 2.1への準拠、明示的なAPI認可、サポート対象機能を厳選したセットが含まれます。permissiveは従来の動作を維持し、過去にサードパーティクライアントの使用実績があるテナントでのみ利用できます。作成時に設定し、後から変更することはできません。
strict, permissive トークンエンドポイントに対して要求する認証方法を定義します。none(クライアントシークレットを持たないパブリッククライアント)、client_secret_post(クライアントがHTTP POSTパラメーターを使用)、またはclient_secret_basic(クライアントがHTTP Basicを使用)を指定できます。
none, client_secret_post, client_secret_basic, null トークン交換の設定。
Show child attributes
Show child attributes
Show child attributes
Show child attributes
web message response mode で使用する有効な Web オリジンを表す URL のセット
レスポンス
クライアントを正常に更新しました。
このクライアントで有効になっているアドオンと、それぞれに関連付けられた設定。
Show child attributes
Show child attributes
デリゲーションリクエストを実行できる許可済みクライアントおよび API id のリスト。空の場合は、すべてのクライアントが許可されます。
Auth0 からログアウトした後のリダイレクト先として有効な URL のカンマ区切りリスト。サブドメインにはワイルドカードを使用できます。
JavaScript から Auth0 API へのリクエストを許可する URL のカンマ区切りリストです(通常は CORS で使用されます)。デフォルトでは、すべてのコールバック URL が許可されます。このフィールドでは、必要に応じて別のオリジンを入力できます。サブドメインレベルのワイルドカード(例: https://*.contoso.com)も使用できます。これらの URL の検証時には、クエリ文字列とハッシュ情報は考慮されません。
このクライアントが表すアプリケーションの種類
native, spa, regular_web, non_interactive, resource_server, express_configuration, rms, box, cloudbees, concur, dropbox, mscrm, echosign, egnyte, newrelic, office365, salesforce, sentry, sharepoint, slack, springcm, zendesk, zoom, sso_integration, oag 承認が必要な場合にユーザーに通知するための通知チャネルの配列。有効な値は guardian-push、email です。
1guardian-push, email 認証後に Auth0 がクライアントへのコールバックとして使用できる、許可済み URL のカンマ区切りリスト。
SAML プロトコル用のオーディエンス / レルムのリスト。wsfed アドオンで使用されます。
クライアント認証方法を定義します。
Show child attributes
Show child attributes
このクライアントの ID。
クライアントに関連付けられたメタデータ。文字列値を持つオブジェクト形式です(最大255文字)。メタデータのプロパティは最大10件まで指定できます。フィールド名(最大255文字)は英数字で、使用できる特殊文字は次のとおりです: :,-+=_*?"/\()<>@\t[Tab] [Space]
クライアントシークレット(公開してはいけません)。
このクライアントの準拠レベルを定義します。これにより、機能が制限される場合があります。
none, fapi1_adv_pkj_par, fapi1_adv_mtls_par, fapi2_sp_pkj_mtls, fapi2_sp_mtls_mtls, null このクライアントをクロスオリジン認証リクエストに使用できるか(true)、そのようなリクエストが許可されていないか(false)を示します。
Auth0 のホスト型ログインページではなく独自のドメインで認証を実行する場合に、クロスオリジン認証フローでクロスオリジン検証を行うサイト上の場所の URL。
カスタムログインページのコンテンツ(HTML、CSS、JS)。
カスタムログインページを使用する(true)か、提供されるデフォルトのログインページを使用する(false)かを示します。
カスタムログインページのコンテンツ(HTML、CSS、JS)。(プレビューで使用)
デフォルトの組織 ID とフローを定義します。
Show child attributes
Show child attributes
このクライアントの説明を自由記述で指定します(最大長: 140 文字)。
このクライアントの WsFed レスポンスで使用される暗号化。
Show child attributes
Show child attributes
OIN Express Configuration 機能で使用するアプリケーション固有の設定。
Show child attributes
Show child attributes
認可フロー中に使用する代替クライアント識別子です。CIMD ベースのクライアント識別子のみサポートされます。
外部メタデータ クライアントを作成した主体を示します。値 admin は、クライアントが Management API 経由で登録されたことを示します。値 client は、クライアントが動的に登録されたことを示します。このフィールドは、external_metadata_type が設定されている場合にのみ存在します。
admin, client クライアントの登録に使用された外部メタデータの種類を示します。このフィールドは通常のクライアントでは省略されます。値 cimd は、Client ID Metadata Document 経由で登録されたクライアントを示します。値 dcr は、動的クライアント登録によって登録されたクライアントを示します。
cimd, dcr New Universal Login の FedCM ログイン設定を構成します
Show child attributes
Show child attributes
WS-Federation で使用する HTML フォームテンプレート。
これがレガシーなテナント設定を表すグローバルな「All Applications」クライアント(true)か、通常のクライアント(false)かを示します。
このアプリケーションでサポートされるグラントタイプのリスト。authorization_code、implicit、refresh_token、client_credentials、password、http://auth0.com/oauth/grant-type/password-realm、http://auth0.com/oauth/grant-type/mfa-oob、http://auth0.com/oauth/grant-type/mfa-otp、http://auth0.com/oauth/grant-type/mfa-recovery-code、urn:openid:params:grant-type:ciba、urn:ietf:params:oauth:grant-type:device_code、および urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token を含めることができます。
ログイン開始 URI。https である必要があります
このクライアントがファーストパーティクライアント(true)かどうか(false)を示します。
true の場合、トークンエンドポイントでのブルートフォース対策のため、auth0-forwarded-for ヘッダーで指定された IP をエンドユーザーの IP として信頼します。
private_key_jwt 認証で使用される公開鍵を含む JSON Web Key Set(JWKS)の URL です。private_key_jwt 認証を使用する CIMD クライアントにのみ存在します。
クライアントのJWTに関連する設定。
Show child attributes
Show child attributes
このクライアントに表示するロゴの URL。推奨サイズは 150 x 150 ピクセルです。
ネイティブモバイルアプリ向けの追加設定。
Show child attributes
Show child attributes
クライアントの My Organization Configuration に関連する設定。
Show child attributes
Show child attributes
このクライアントの名前(最小長: 1 文字。< と > は使用できません)。
ネイティブソーシャル設定を構成
Show child attributes
Show child attributes
このクライアントが厳格な OIDC 仕様に準拠している(true)か、レガシー機能を使用する(false)かを示します。
OIDC バックチャネルログアウトの設定
Show child attributes
Show child attributes
pre_login_prompt での組織検出に使用できる方法を定義します。ユーザーは email、organization_name、またはその両方で自分の組織を検出できます。
1pre_login_prompt 中に組織を特定する方法。email では、ユーザーがメールアドレスを入力してドメイン照合を行うことで組織を見つけられます。一方、organization_name では、ユーザーが組織名を直接入力する必要があります。これらの方法は組み合わせて使用できます。
email, organization_name client.organization_usage: 'require' の場合に、認証トランザクション中の処理方法を定義します。no_prompt(デフォルト)、pre_login_prompt、post_login_prompt のいずれかを指定できます。post_login_prompt には oidc_conformant: true が必要です。
no_prompt, pre_login_prompt, post_login_prompt 組織に関して、認証トランザクション中にどのように処理を進めるかを定義します。deny(デフォルト)、allow、require のいずれかを指定できます。
deny, allow, require プッシュ型認可リクエスト URI が有効であり続ける期間を秒単位で指定します
10 <= x <= 600認証エラー時、またはメールアドレス確認フローで、Auth0 がユーザーをアプリケーションのコールバックURLにリダイレクトするかどうかを制御します。open_redirect_protection はリダイレクトの代わりにエラーページを表示し、メールテンプレートからコールバック ドメインを非表示にします。allow_always は標準のリダイレクト動作を有効にします。サードパーティ クライアントでは、デフォルトで open_redirect_protection が使用されます。これは is_first_party が false で、かつ third_party_security_mode が strict の場合にのみ適用されます。詳細は、Redirect protection を参照してください。
allow_always, open_redirect_protection リフレッシュトークンの設定
Show child attributes
Show child attributes
このクライアントでは所有証明の使用が必須です
このクライアントではプッシュ型認可リクエストの使用が必須です
このクライアントが関連付けられているリソースサーバーの識別子です。
ネイティブから Web への SSO の設定
Show child attributes
Show child attributes
JWT-Secured Authorization Requests(JAR)の設定。
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 を参照してください。
SSO クライアントにのみ適用され、Auth0 がシングルサインオンを処理するか(true)、IDプロバイダーが処理するか(false)を決定します。
シングルサインオンが無効(true)か有効(false)かを示します。デフォルトは true です。
このクライアントが属するテナントの名前。
サードパーティクライアントのセキュリティモード。strictは強化されたセキュリティ制御を適用します。これには、OAuth 2.1への準拠、明示的なAPI認可、サポート対象機能を厳選したセットが含まれます。permissiveは従来の動作を維持し、過去にサードパーティクライアントの使用実績があるテナントでのみ利用できます。作成時に設定し、後から変更することはできません。
strict, permissive トークンエンドポイントに対して要求する認証方法を定義します。none(クライアントシークレットを持たないパブリッククライアント)、client_secret_post(クライアントがHTTP POSTパラメーターを使用)、またはclient_secret_basic(クライアントがHTTP Basicを使用)を指定できます。
none, client_secret_post, client_secret_basic トークン交換の設定。
Show child attributes
Show child attributes
Show child attributes
Show child attributes
クロスオリジン認証、デバイスフロー、および web message response mode で使用する許可済みオリジンのカンマ区切りリスト。