メインコンテンツへスキップ
GET
/
config
TypeScript
import { MyOrganizationClient } from "github.com/auth0/myorganization-js";

async function main() {
    const client = new MyOrganizationClient({
        token: "<token>",
    });
    await client.organization.configuration.get();
}
main();
{
  "allowed_strategies": [
    "adfs",
    "pingfederate"
  ],
  "connection_deletion_behavior": "allow"
}

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

レスポンス

Configuration successfully retrieved.

allowed_strategies
enum<string>[]

Array of supported strategies

The type of the identity provider

利用可能なオプション:
adfs,
google-apps,
oidc,
okta,
pingfederate,
samlp,
waad
connection_deletion_behavior
enum<string>

Specifies whether deletion of a connection is always allowed, or only when the connection has no associated users

利用可能なオプション:
allow,
allow_if_empty