> ## Documentation Index
> Fetch the complete documentation index at: https://docs.statusstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discover SSO availability for domain

> Check if a domain has SSO (SAML) authentication configured



## OpenAPI

````yaml /openapi/api-docs.yaml get /sso/discover
openapi: 3.0.3
info:
  title: StatusStack API
  description: >
    API for managing status monitoring, incidents, stacks, and website
    monitoring.


    You can import this specification directly into Postman, Insomnia or any
    other

    OpenAPI-compatible client.


    Only the operations documented here are part of the supported public API.
    Any other

    endpoint is unstable and may change without a version bump.
  version: 1.4.0
  contact:
    name: StatusStack Support
    url: https://statusstack.com/support
servers:
  - url: https://statusstack.com/api
    description: Production server
security: []
paths:
  /sso/discover:
    get:
      tags:
        - Authentication
      summary: Discover SSO availability for domain
      description: Check if a domain has SSO (SAML) authentication configured
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
          description: Domain to check for SSO configuration
          example: company.com
      responses:
        '200':
          description: SSO discovery result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SsoDiscovery'
              examples:
                sso_available:
                  summary: SSO Available
                  value:
                    sso_available: true
                    organization_id: 01234567-89ab-cdef-0123-456789abcdef
                    organization_name: Acme Corporation
                    login_url: >-
                      https://statusstack.com/saml2/login/01234567-89ab-cdef-0123-456789abcdef
                sso_not_available:
                  summary: SSO Not Available
                  value:
                    sso_available: false
                    message: No SSO configuration found for this domain
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SsoDiscovery:
      type: object
      properties:
        sso_available:
          type: boolean
        organization_id:
          type: string
          format: uuid
          nullable: true
        organization_name:
          type: string
          nullable: true
        login_url:
          type: string
          format: uri
          nullable: true
        message:
          type: string
          nullable: true
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.