Atlas
Admin — SSO

Test SSO provider connection

Tests an SSO provider's configuration by validating connectivity and config. For OIDC: fetches the discovery document and validates required fields. For SAML: parses the X.509 certificate and checks IdP reachability.

POST
/api/v1/admin/sso/providers/{id}/test

Path Parameters

id*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/sso/providers/prov_abc123/test"
{
  "type": "oidc",
  "success": true,
  "testedAt": "string",
  "details": {
    "discoveryReachable": true,
    "issuerMatch": true,
    "requiredFieldsPresent": true,
    "endpoints": {
      "property1": "string",
      "property2": "string"
    }
  },
  "errors": [
    "string"
  ],
  "warnings": [
    "string"
  ]
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
Edit on GitHub

Last updated on