Deprecated: Search Identity Providers (IDP)
This endpoint has been deprecated and may be removed in future versions of the API.
Returns a list of identity providers (social/enterprise login) configured on an instance level. e.g Google, AzureAD, etc.
- application/json
- application/grpc
- application/grpc-web+proto
Request Body required
query object
- sortingColumn the field the result is sorted
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
queries object[]
Request Body required
query object
- sortingColumn the field the result is sorted
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
queries object[]
Request Body required
query object
- sortingColumn the field the result is sorted
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
queries object[]
- 200
- 400
- 403
- 404
- default
idps found
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details object
- sortingColumn string
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
result object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2023-05-12"
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"result": [
{
"id": "69629023906488334",
"details": {
"sequence": "2",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"state": "IDP_STATE_UNSPECIFIED",
"name": "google",
"stylingType": "STYLING_TYPE_UNSPECIFIED",
"owner": "IDP_OWNER_TYPE_UNSPECIFIED",
"oidcConfig": {
"clientId": "string",
"issuer": "https://accounts.google.com",
"scopes": [
"openid",
"profile",
"email"
],
"displayNameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED",
"usernameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED"
},
"jwtConfig": {
"jwtEndpoint": "https://accounts.google.com",
"issuer": "https://accounts.google.com",
"keysEndpoint": "https://accounts.google.com/keys",
"headerName": "x-auth-token"
},
"autoRegister": true
}
]
}
- Schema
- Example (from schema)
Schema
details object
- sortingColumn string
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
result object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2023-05-12"
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"result": [
{
"id": "69629023906488334",
"details": {
"sequence": "2",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"state": "IDP_STATE_UNSPECIFIED",
"name": "google",
"stylingType": "STYLING_TYPE_UNSPECIFIED",
"owner": "IDP_OWNER_TYPE_UNSPECIFIED",
"oidcConfig": {
"clientId": "string",
"issuer": "https://accounts.google.com",
"scopes": [
"openid",
"profile",
"email"
],
"displayNameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED",
"usernameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED"
},
"jwtConfig": {
"jwtEndpoint": "https://accounts.google.com",
"issuer": "https://accounts.google.com",
"keysEndpoint": "https://accounts.google.com/keys",
"headerName": "x-auth-token"
},
"autoRegister": true
}
]
}
- Schema
- Example (from schema)
Schema
details object
- sortingColumn string
Possible values: [
IDP_FIELD_NAME_UNSPECIFIED
,IDP_FIELD_NAME_NAME
]Default value:
IDP_FIELD_NAME_UNSPECIFIED
result object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2023-05-12"
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"result": [
{
"id": "69629023906488334",
"details": {
"sequence": "2",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"state": "IDP_STATE_UNSPECIFIED",
"name": "google",
"stylingType": "STYLING_TYPE_UNSPECIFIED",
"owner": "IDP_OWNER_TYPE_UNSPECIFIED",
"oidcConfig": {
"clientId": "string",
"issuer": "https://accounts.google.com",
"scopes": [
"openid",
"profile",
"email"
],
"displayNameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED",
"usernameMapping": "OIDC_MAPPING_FIELD_UNSPECIFIED"
},
"jwtConfig": {
"jwtEndpoint": "https://accounts.google.com",
"issuer": "https://accounts.google.com",
"keysEndpoint": "https://accounts.google.com/keys",
"headerName": "x-auth-token"
},
"autoRegister": true
}
]
}
invalid query
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /idps/_search
Authorization
type: oauth2flow: authorizationCodescopes: openid,urn:zitadel:iam:org:project:id:zitadel:aud
Request
Request
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/admin/v1/idps/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"sortingColumn": "IDP_FIELD_NAME_UNSPECIFIED",
"queries": [
{
"idpIdQuery": {
"id": "69629023906488334"
},
"idpNameQuery": {
"name": "google",
"method": "TEXT_QUERY_METHOD_EQUALS"
}
}
]
}'