Create SSO Provider

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.connect.century.tech/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Connect API MCP server": {
    "url": "https://docs.connect.century.tech/mcp"
  }
}

Close
POST /sso-providers

Register an OIDC identity provider for an email domain. CENTURY reads the discovery document of the issuer before it keeps the provider. A new provider has an unverified domain and cannot be used for sign-in until the domain is verified.

application/json

Body Required

  • domain string Required

    The email domain of the provider, for example school.example. It is a bare domain with no scheme, path or @. CENTURY keeps it in lower case. Each part between two dots starts and ends with a letter or a digit, and the last part starts with a letter. Each part has a maximum of 63 characters.

    Minimum length is 1, maximum length is 227. Format should match the following pattern: ^(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z][A-Za-z0-9-]*[A-Za-z0-9]$.

  • issuer string(uri) Required

    The OIDC issuer of the identity provider. It must be an HTTPS URL, and it must be the same as the issuer in the discovery document at {issuer}/.well-known/openid-configuration. The host must be a public DNS name, not an IP address. The URL must have no user name, port, query or fragment.

    Maximum length is 2048. Format should match the following pattern: ^https:\/\/[A-Za-z0-9.-]+(?:\/[!-"$->@-[\]-~]*)?$.

  • clientId string Required

    The client ID that the identity provider gave to CENTURY.

    Minimum length is 1, maximum length is 255.

  • clientSecret string Required

    The client secret that the identity provider gave to CENTURY. It is write-only: no response contains it.

    Minimum length is 1, maximum length is 1024.

  • scopes array[string]

    The OIDC scopes that CENTURY requests at sign-in. The list must include openid. If you omit the field, CENTURY requests openid, email, profile and offline_access.

    At least 1 but not more than 20 elements. Maximum length of each is 64. Format of each should match the following pattern: ^[\x21\x23-\x5B\x5D-\x7E]+$.

Responses

  • 201 application/json

    SSO provider created successfully.

    Hide response attribute Show response attribute object
    • ssoProvider object Required
      Hide ssoProvider attributes Show ssoProvider attributes object
      • providerId string Required

        SSO provider ID. CENTURY makes it from the domain of the provider, and it does not change. It has lower case letters, digits and single hyphens only.

        Maximum length is 227. Format should match the following pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$.

      • domain string Required

        The email domain of the provider, for example school.example. It is a bare domain with no scheme, path or @. CENTURY keeps it in lower case.

      • issuer string Required

        The OIDC issuer of the identity provider.

      • clientId string Required

        The client ID that the identity provider gave to CENTURY.

      • scopes array[string]

        The OIDC scopes that CENTURY requests at sign-in.

      • domainVerified boolean Required

        Whether the domain is verified. A provider with an unverified domain cannot be used for sign-in. Only the domain verification check changes this value.

      • createdAt string(date-time) Required

        The date and time when the provider was registered.

  • 400

    Invalid request.

  • 401

    Invalid authentication credentials

  • 403

    Not authorised to access this resource

  • 409

    SSO provider already exists for the domain.

  • 422

    OIDC discovery validation failed.

POST /sso-providers
curl \
 --request POST 'https://connect.century.tech/api/v1/sso-providers' \
 --header "x-api-key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{
  "domain": "school.example",
  "issuer": "https://idp.school.example",
  "clientId": "century-sso",
  "clientSecret": "your-client-secret",
  "scopes": [
    "openid",
    "email",
    "profile"
  ]
}'
Request examples
{
  "domain": "school.example",
  "issuer": "https://idp.school.example",
  "clientId": "century-sso",
  "clientSecret": "your-client-secret",
  "scopes": [
    "openid",
    "email",
    "profile"
  ]
}
Response examples (201)
{
  "ssoProvider": {
    "providerId": "school-example",
    "domain": "school.example",
    "issuer": "https://idp.school.example",
    "clientId": "century-sso",
    "scopes": [
      "openid",
      "email",
      "profile"
    ],
    "domainVerified": false,
    "createdAt": "2026-11-24T09:30:00.000Z"
  }
}