curl --request GET \
--url https://{tenantDomain}/api/v2/clients/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/api/v2/clients/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/clients/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/clients/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/clients/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenantDomain}/api/v2/clients/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/clients/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"clients": [
{
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"b2b_integration_configuration": {
"sso_profiles": [
"<string>"
]
},
"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": {},
"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": "",
"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>"
],
"identity_assertion_authorization_grant": {
"active": false
},
"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
},
"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
}
},
"token_vault_privileged_access": {
"credentials": [
{
"id": "<string>"
}
],
"grants": [
{
"connection": "<string>",
"scopes": [
"<string>"
]
}
],
"ip_allowlist": [
"127.0.0.1"
]
},
"web_origins": [
"<string>"
]
}
],
"next": "<string>"
}クライアント検索の取得
SCIM または Lucene のフィルター構文を使用して、低レイテンシでクライアントを検索します。結果は結果整合性に基づいて返されます。 parser パラメータを使用して、“scim” または “lucene” 構文を指定します(デフォルト: “lucene”)。 このエンドポイントは、複雑なクエリに対してより優れたパフォーマンスを提供する、標準の GET /clients エンドポイントの代替手段です。 結果には最近の更新がすぐに反映されない場合があります。
- このエンドポイントでサポートされるのは、
read:clientsおよびread:client_summaryスコープのみです。read:client_keysおよびread:client_credentialsスコープはサポートされていません。 - 次のフィールドは、このエンドポイントからは返されません。
client_secretencryption_keysigning_keysownersaddons
curl --request GET \
--url https://{tenantDomain}/api/v2/clients/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/api/v2/clients/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/clients/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/clients/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/clients/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenantDomain}/api/v2/clients/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/clients/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"clients": [
{
"allowed_clients": [
"<string>"
],
"allowed_logout_urls": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"async_approval_notification_channels": [],
"b2b_integration_configuration": {
"sso_profiles": [
"<string>"
]
},
"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": {},
"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": "",
"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>"
],
"identity_assertion_authorization_grant": {
"active": false
},
"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
},
"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
}
},
"token_vault_privileged_access": {
"credentials": [
{
"id": "<string>"
}
],
"grants": [
{
"connection": "<string>",
"scopes": [
"<string>"
]
}
],
"ip_allowlist": [
"127.0.0.1"
]
},
"web_origins": [
"<string>"
]
}
],
"next": "<string>"
}承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
クエリパラメータ
SCIM または Lucene 構文によるフィルター式(parser パラメータに応じて異なります)。SCIM の例: name eq "Auth0"、name sw "auth" and app_type eq "spa"。SCIM 演算子: eq、ne、sw、ew、co、pr、gt、ge、lt、le、and、or。
サポート対象フィールド:
- client_id - Auth0 クライアント ID(大文字と小文字を区別、完全一致)
- external_client_id - Client ID Metadata Document(CIMD)の URL(大文字と小文字を区別、完全一致)
- name - クライアント名(含む、前方一致、後方一致の演算子をサポート。ソート可能)
- app_type - アプリケーションの種類(例: "spa"、"native"、"non_interactive")
- is_first_party - クライアントがファーストパーティかどうか(ブール値)
- updated_at - 最終更新タイムスタンプ(日付範囲演算子をサポート。ソート可能)
- metadata.{key} - クライアントメタデータのキーと値のペアでフィルター(キーの階層は最大 2 レベル、値は最大 64 文字までインデックス化)
- client_grant.organization_id - 関連付けられた組織IDでフィルター
- client_grant.allow_any_organization - 任意の organization を許可する設定でフィルター
1000フィルター式に使用するクエリパーサー。SCIM フィルター構文には "scim"、Lucene クエリ構文には "lucene"(デフォルト)を使用します。 フィルター式に使用するクエリパーサー。SCIMフィルター構文には"scim"、Luceneクエリ構文には"lucene"(デフォルト)を使用します。
scim, lucene レスポンスに含める、または除外するフィールドのカンマ区切りリスト。include_fields パラメータと併用して射影モードを制御します。最大 50 フィールド。
1000フィールドの射影モードを制御します。true に設定すると、fields パラメータで指定したフィールドのみを含めます。false に設定すると、fields パラメータで指定したフィールドを除外します。指定しない場合のデフォルトは true です。
ページごとに返す結果の最大数(1~100)。デフォルトは 50 です。
1 <= x <= 100結果の次ページのカーソル。前のレスポンスの next フィールドの値を使用します。
1000結果を昇順で並べ替えるフィールド名。指定しない場合は挿入順(古いものから)になります。 結果を昇順で並べ替えるフィールド名。指定しない場合は、挿入順(古いものから)が既定になります。
name, updated_at