GetActiveIdentityProviders
Get Active Identity Providers
Get the current active identity providers for the requested context. This can be the instance or an organization. In case of an organization, the returned identity providers will fall back to the active instance identity providers if not explicitly set on the organization.
Optionally, filter the identity providers by their allowed actions:
- creation_allowed: only return identity providers that are allowed for user creation
- linking_allowed: only return identity providers that are allowed for linking to existing users
- auto_creation: only return identity providers that are allowed for automatic user creation
- auto_linking: only return identity providers that are allowed for automatic linking to existing users
Required permissions:
policy.read
Query Parameters
ctx.orgId?string
ctx.instance?boolean
creationAllowed?boolean
linkingAllowed?boolean
autoCreation?boolean
autoLinking?boolean
Response Body
application/json
application/json
curl -X GET "https://loading/v2/settings/login/idps"{
"details": {
"totalResult": 0,
"processedSequence": 0,
"timestamp": "1s"
},
"identityProviders": [
{
"id": "string",
"name": "string",
"type": "IDENTITY_PROVIDER_TYPE_UNSPECIFIED",
"options": {
"isLinkingAllowed": true,
"isCreationAllowed": true,
"isAutoCreation": true,
"isAutoUpdate": true,
"autoLinking": "AUTO_LINKING_OPTION_UNSPECIFIED"
}
}
]
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?