IDプロバイダーを一覧表示
curl --request GET \
--url https://{tenantDomain}/my-org/v1/identity-providers \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/my-org/v1/identity-providers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/my-org/v1/identity-providers', 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}/my-org/v1/identity-providers",
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}/my-org/v1/identity-providers"
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}/my-org/v1/identity-providers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/my-org/v1/identity-providers")
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{
"identity_providers": [
{
"access_level": "full",
"assign_membership_on_login": false,
"attributes": [
{
"description": "優先ユーザー名",
"is_extra": false,
"is_missing": false,
"is_required": true,
"label": "Preferred username",
"sso_field": [
"userName"
],
"user_attribute": "preferred_username"
},
{
"is_extra": true,
"is_missing": false,
"is_required": true,
"sso_field": [
"externalId"
],
"user_attribute": "external_id"
}
],
"display_name": "OIDC IdP",
"domains": [
"mydomain.com"
],
"id": "con_zW1UHutvkVWSWdCC",
"is_enabled": true,
"name": "oidcIdp",
"options": {
"client_id": "a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d",
"discovery_url": "https://{yourDomain}/.well-known/openid-configuration",
"type": "front_channel"
},
"show_as_button": true,
"strategy": "oidc"
},
{
"access_level": "limited",
"assign_membership_on_login": false,
"attributes": [
{
"description": "優先ユーザー名",
"is_extra": false,
"is_missing": false,
"is_required": true,
"label": "Preferred username",
"sso_field": [
"userName"
],
"user_attribute": "preferred_username"
},
{
"is_extra": true,
"is_missing": false,
"is_required": true,
"sso_field": [
"externalId"
],
"user_attribute": "external_id"
}
],
"display_name": "Saml IdP",
"domains": [
"mydomain.com"
],
"id": "con_zW1UHutvkVWSWdCD",
"is_enabled": true,
"name": "samlIdp",
"options": {
"bindingMethod": "HTTP-Redirect",
"cert": "MIIDQjCCAiugAwIBAgIRAMp+cW+SgQ2Yh7fF8v8b0OQwDQYJKoZIhvcNAQELBQAw...",
"digestAlgorithm": "sha256",
"idpInitiated": {
"client_authorizequery": "redirect_uri=https://jwt.io&scope=openid email&response_type=token",
"client_id": "a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d",
"client_protocol": "SAML",
"enabled": true
},
"metadataUrl": "a.metadata.url",
"protocolBinding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"signSAMLRequest": true,
"signatureAlgorithm": "rsa-sha256"
},
"show_as_button": true,
"strategy": "samlp"
}
]
}組織のIDプロバイダーを一覧表示
この組織に関連付けられたすべての IDプロバイダーとそれぞれの設定の一覧を取得します。
GET
/
identity-providers
IDプロバイダーを一覧表示
curl --request GET \
--url https://{tenantDomain}/my-org/v1/identity-providers \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenantDomain}/my-org/v1/identity-providers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/my-org/v1/identity-providers', 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}/my-org/v1/identity-providers",
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}/my-org/v1/identity-providers"
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}/my-org/v1/identity-providers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/my-org/v1/identity-providers")
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{
"identity_providers": [
{
"access_level": "full",
"assign_membership_on_login": false,
"attributes": [
{
"description": "優先ユーザー名",
"is_extra": false,
"is_missing": false,
"is_required": true,
"label": "Preferred username",
"sso_field": [
"userName"
],
"user_attribute": "preferred_username"
},
{
"is_extra": true,
"is_missing": false,
"is_required": true,
"sso_field": [
"externalId"
],
"user_attribute": "external_id"
}
],
"display_name": "OIDC IdP",
"domains": [
"mydomain.com"
],
"id": "con_zW1UHutvkVWSWdCC",
"is_enabled": true,
"name": "oidcIdp",
"options": {
"client_id": "a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d",
"discovery_url": "https://{yourDomain}/.well-known/openid-configuration",
"type": "front_channel"
},
"show_as_button": true,
"strategy": "oidc"
},
{
"access_level": "limited",
"assign_membership_on_login": false,
"attributes": [
{
"description": "優先ユーザー名",
"is_extra": false,
"is_missing": false,
"is_required": true,
"label": "Preferred username",
"sso_field": [
"userName"
],
"user_attribute": "preferred_username"
},
{
"is_extra": true,
"is_missing": false,
"is_required": true,
"sso_field": [
"externalId"
],
"user_attribute": "external_id"
}
],
"display_name": "Saml IdP",
"domains": [
"mydomain.com"
],
"id": "con_zW1UHutvkVWSWdCD",
"is_enabled": true,
"name": "samlIdp",
"options": {
"bindingMethod": "HTTP-Redirect",
"cert": "MIIDQjCCAiugAwIBAgIRAMp+cW+SgQ2Yh7fF8v8b0OQwDQYJKoZIhvcNAQELBQAw...",
"digestAlgorithm": "sha256",
"idpInitiated": {
"client_authorizequery": "redirect_uri=https://jwt.io&scope=openid email&response_type=token",
"client_id": "a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d",
"client_protocol": "SAML",
"enabled": true
},
"metadataUrl": "a.metadata.url",
"protocolBinding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"signSAMLRequest": true,
"signatureAlgorithm": "rsa-sha256"
},
"show_as_button": true,
"strategy": "samlp"
}
]
}承認
OAuth2ClientCredentialsOAuth2AuthCode
The access token received from the authorization server in the OAuth 2.0 flow.
クエリパラメータ
指定した場合、組織メンバーアクセスレベルが指定値のいずれかと一致する接続のみが返されます。有効な値は full、limited、readonly、none です。
Minimum array length:
1組織に許可されるアクセスレベル
利用可能なオプション:
none, readonly, limited, full レスポンス
アイデンティティプロバイダーの一覧が正常に取得されました。
identity_providers
(IdP ADFS Response · object | IdP Google Workforce Response · object | IdP OIDC Response · object | IdP Okta Response · object | IdP Ping Response · object | IdP SAML Response · object | IdP Microsoft Azure AD Response · object | object)[]
IDプロバイダー固有のオプション。
- IdP ADFS Response
- IdP Google Workforce Response
- IdP OIDC Response
- IdP Okta Response
- IdP Ping Response
- IdP SAML Response
- IdP Microsoft Azure AD Response
- Option 8
Show child attributes
Show child attributes
⌘I