provider organizationsidentity_provider_configs POST /api/organizations/{organization_id}/identity_provider_configs/
@utdk/posthog /api/organizations/{organization_id}/identity_provider_configs/
identity_provider_configs_create
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string

Try it

Authentication
Configure credentials for PostHog API
identityProviderConfigsCreate
POST/api/organizations/{organization_id}/identity_provider_configs/

Parameters

required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Input

required

Display name for this IdP configuration (e.g. 'Okta production').

required
required
required

Whether SAML is fully configured on this config.

SAML IdP entity ID (issuer).

SAML single sign-on (ACS) URL the IdP redirects to.

SAML IdP X.509 signing certificate (PEM).

required

Whether SCIM is enabled and a bearer token is set on this config.

Whether SCIM provisioning is enabled. Setting this true generates a bearer token (returned once); setting it false clears the token.

required

Plaintext SCIM bearer token. Only returned once, immediately after SCIM is enabled or the token is regenerated; null otherwise.

required

Whether ID-JAG (XAA) is configured on this config.

Trusted IdP issuer URL for ID-JAG (XAA). Required to enable ID-JAG.

Override JWKS URL. Defaults to OIDC discovery on the issuer URL.

Allowed ID-JAG client IDs. Empty list allows any client_id.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.identityProviderConfigsCreate()