Atlas
Admin — SSO

Create SSO provider

Creates a new SSO provider for the admin's active organization. Requires type, issuer, domain, and config. The provider is always created with enabled=false — domain ownership must be verified via DNS TXT record before the provider can be enabled.

POST
/api/v1/admin/sso/providers

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

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" \  -H "Content-Type: application/json" \  -d '{    "type": "saml",    "issuer": "string",    "domain": "string",    "config": {      "property1": null,      "property2": null    }  }'
{
  "provider": {
    "id": "string",
    "orgId": "string",
    "type": "saml",
    "issuer": "string",
    "domain": "string",
    "enabled": true,
    "ssoEnforced": true,
    "createdAt": "string",
    "updatedAt": "string",
    "config": {
      "property1": null,
      "property2": null
    },
    "verificationToken": "string",
    "domainVerified": true,
    "domainVerifiedAt": "string",
    "domainVerificationStatus": "pending",
    "property1": null,
    "property2": null
  }
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}