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

# Get organization SSO settings



## OpenAPI

````yaml /api-reference/openapi.personal.json get /v1/orgs/{slug}/oidc
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/orgs/{slug}/oidc:
    get:
      tags:
        - OIDC
      summary: Get organization SSO settings
      operationId: get_oidc_config
      parameters:
        - name: slug
          in: path
          description: Organization slug
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OIDC configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgOidcConfig'
        '401':
          description: Unauthorized
        '403':
          description: Insufficient permissions
        '404':
          description: OIDC not configured
      security:
        - bearer: []
components:
  schemas:
    OrgOidcConfig:
      type: object
      description: OIDC configuration for an organization's enterprise SSO.
      required:
        - id
        - org_id
        - issuer_url
        - client_id
        - allowed_domains
        - enabled
        - created_at
        - updated_at
      properties:
        allowed_domains:
          type: array
          items:
            type: string
        client_id:
          type: string
        created_at:
          type: string
          format: date-time
        enabled:
          type: boolean
        id:
          type: string
          format: uuid
        issuer_url:
          type: string
        org_id:
          type: string
          format: uuid
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````