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

# Get an SSO Connection

> Get a specific SSO connection by ID



## OpenAPI

````yaml /api/openapi.yaml get /v1/sso_connections/{connectionId}
openapi: 3.0.3
info:
  title: Documentation Service API
  description: API documentation for Documentation Service
  version: 1.0.0
servers:
  - url: https://api.us.lexful.app
    description: US pod
security:
  - bearerAuth: []
    accountId: []
paths:
  /v1/sso_connections/{connectionId}:
    get:
      tags:
        - SSO Connections
      summary: Get an SSO Connection
      description: Get a specific SSO connection by ID
      parameters:
        - schema:
            type: string
          in: path
          name: connectionId
          required: true
          description: SSO connection ID
      responses:
        '200':
          $ref: '#/components/responses/GetSSOConnectionResponse'
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '403':
          $ref: '#/components/responses/ForbiddenResponse'
        '404':
          $ref: '#/components/responses/NotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
components:
  responses:
    GetSSOConnectionResponse:
      description: Default Response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GetSSOConnectionResponse_application_json'
    BadRequestResponse:
      description: Bad request - validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ForbiddenResponse:
      description: Forbidden - insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundResponse:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerErrorResponse:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    GetSSOConnectionResponse_application_json:
      type: object
      properties:
        connection_id:
          type: string
          description: SSO connection unique identifier
        name:
          type: string
          description: Name for the SSO connection
        type:
          type: string
          enum:
            - saml
            - oidc
          description: SSO connection type (SAML or OIDC)
        status:
          type: string
          enum:
            - active
            - inactive
            - pending
          description: SSO connection status
        saml_config:
          $ref: >-
            #/components/schemas/GetSSOConnectionResponse_application_json_saml_config
        oidc_config:
          $ref: >-
            #/components/schemas/GetSSOConnectionResponse_application_json_oidc_config
      required:
        - connection_id
        - display_name
        - type
        - status
    ErrorResponse:
      description: Bad request - validation error
      type: object
      properties:
        status:
          type: number
          description: HTTP status code
        message:
          type: string
          description: Error message
        error_id:
          type: string
          description: Unique error identifier
        error_code:
          type: string
          description: Error code
        developer_message:
          type: string
          description: Additional details for developers
    GetSSOConnectionResponse_application_json_saml_config:
      type: object
      properties:
        acs_url:
          type: string
          format: uri
          description: Assertion Consumer Service URL
        audience_uri:
          type: string
          description: Audience URI
        idp_entity_id:
          type: string
          description: Identity Provider Entity ID
        idp_sso_url:
          type: string
          format: uri
          description: Identity Provider SSO URL
        x509_certificate:
          type: string
          description: X.509 certificate in PEM format
        attribute_mapping:
          type: object
          additionalProperties:
            type: string
          description: Attribute mapping configuration
    GetSSOConnectionResponse_application_json_oidc_config:
      type: object
      properties:
        redirect_url:
          type: string
          format: uri
          description: Redirect URL
        client_id:
          type: string
          description: OAuth client ID
        client_secret:
          type: string
          description: OAuth client secret
        issuer:
          type: string
          format: uri
          description: OIDC issuer URL
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token
    accountId:
      type: apiKey
      in: header
      name: X-Account-ID
      description: Account ID

````