---
title: "List a domain's identity providers"
method: GET
path: "/organizations/{orgId}/environments/{envId}/domains/{domainKey}/identities"
tags: ["Identity Providers", "Domains"]
---

# List a domain's identity providers

`GET /organizations/{orgId}/environments/{envId}/domains/{domainKey}/identities`

Returns all identity providers managed by the Automation API under the domain. Identity providers created outside the Automation API are not returned.

## Path parameters

- `orgId` string, required
- `envId` string, required
- `domainKey` string, required

## Response `200`

List of identity providers

- AutomationIdentityProvider[]
  - `configuration` string — Plugin-specific configuration as a JSON-encoded string. Its shape is defined by the selected identity provider type.
  - `createdAt` string, date-time — Creation timestamp (ISO-8601 / RFC 3339, UTC). Read-only.
  - `domainWhitelist` string[] — Email domains allowed to authenticate through this identity provider. When set, users whose email domain is not listed are rejected.
  - `groupMapper` object — Group mapper: assigns AM groups based on provider attribute values. Each entry maps a group to the user attribute expressions that grant it.
  - `key` string, required — Stable, immutable identifier for the identity provider within its domain. Lowercase alphanumeric and hyphens, starting and ending with an alphanumeric character. Used to identify the identity provider on create-or-update.
  - `mappers` object — Attribute mappers: maps provider claims to AM user profile attributes.
  - `name` string — Human-readable name of the identity provider.
  - `roleMapper` object — Role mapper: assigns AM roles based on provider attribute values. Each entry maps a role to the user attribute expressions that grant it.
  - `system` boolean — Whether this is the domain's system identity provider. Immutable after creation. When true, only key is required; the identity provider is built from the domains.identities.default.* system settings and the name, type, and configuration fields are ignored.
  - `type` string — Identity provider plugin type identifier. Immutable after creation.
  - `updatedAt` string, date-time — Last-update timestamp (ISO-8601 / RFC 3339, UTC). Read-only.

## Other responses

- `403` — Permission denied
- `404` — Domain not found, or not managed by the Automation API

---

[API](https://skmtc.net/gravitee-io/apis/gravitee-io-am-automation-api.md) · [All operations](https://skmtc.net/gravitee-io/apis/gravitee-io-am-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gravitee-io/gravitee-io-am-automation-api/revisions/39ed35bd3858/schema)
