The Identity Providers API allows you to list and manage identity providers (IdPs) on your Access Gateway instance.
Lists all identity providers (IdPs) that are configured in Access Gateway
Success
Unauthorized
Forbidden
Too Many Requests
[- {
- "id": "10229d53-cb73-44b2-89b0-740f679b29b9",
- "type": "IDP_OKTA",
- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "domain": "idp.company.com",
- "tenant": "company.okta.com",
- "validationStatus": {
- "valid": true,
- "permissions": {
- "SUPER_ADMIN": true,
- "APP_ADMIN": false,
- "ORG_ADMIN": false
}
}
}, - {
- "id": "b9231786-7f66-488c-ad1d-e1bd8983bce8",
- "type": "IDP_AUTH0",
- "name": "My Auth0 IdP",
- "description": "Auth0 identity provider",
- "domain": "auth0.company.com",
- "tenant": "company.us.auth0.com",
- "validationStatus": {
- "valid": true,
- "permissions": "read:users read:clients update:clients delete:clients create:clients read:rules update:rules delete:rules create:rules"
}
}
]Creates an identity provider (IdP) in Access Gateway
IdP created successfully
Bad Request
Unauthorized
Forbidden
Too Many Requests
{- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "type": "IDP_OKTA",
- "domain": "idp.company.com",
- "apiToken": "<api-token>"
}{- "id": "10229d53-cb73-44b2-89b0-740f679b29b9",
- "type": "IDP_OKTA",
- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "domain": "idp.company.com",
- "tenant": "company.okta.com",
- "validationStatus": {
- "valid": true,
- "permissions": {
- "SUPER_ADMIN": true,
- "APP_ADMIN": false,
- "ORG_ADMIN": false
}
}
}Retrieves an identity provider (IdP) integration by idpId
This request returns the IdP configuration and its properties.
Success
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
{- "id": "10229d53-cb73-44b2-89b0-740f679b29b9",
- "type": "IDP_OKTA",
- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "domain": "idp.company.com",
- "tenant": "company.okta.com",
- "validationStatus": {
- "valid": true,
- "permissions": {
- "SUPER_ADMIN": true,
- "APP_ADMIN": false,
- "ORG_ADMIN": false
}
}
}Replaces an existing identity provider (IdP) configuration
Use this endpoint to update the configuration of the specified IdP.
IdP updated successfully
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
{- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "apiToken": "<api-token>"
}{- "id": "10229d53-cb73-44b2-89b0-740f679b29b9",
- "type": "IDP_OKTA",
- "name": "My Okta IdP",
- "description": "Okta identity provider",
- "domain": "idp.company.com",
- "tenant": "company.okta.com",
- "validationStatus": {
- "valid": true,
- "permissions": {
- "SUPER_ADMIN": true,
- "APP_ADMIN": false,
- "ORG_ADMIN": false
}
}
}Deletes an identity provider (IdP) by idpId
Deleting the IdP configuration removes it from Access Gateway. To successfully delete an IDP, ensure that it doesn't have any applications associated with it. Use the Replace an application endpoint to remove the application's IdP configuration before deleting the IdP.
IdP deleted successfully
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
{- "details": { },
- "errorCode": "BAD_REQUEST",
- "message": "Request validation failed"
}