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

# List enabled auth providers

> Returns which auth providers are currently configured on the API server: the set of SSO social providers (derived from `GOOGLE_CLIENT_ID/SECRET`, `MICROSOFT_CLIENT_ID/SECRET`) and whether an email provider (Loops) is configured via `LOOPS_API_KEY`. This endpoint is unauthenticated so that the login UI can render the correct set of provider buttons before the user signs in.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/providers
openapi: 3.1.1
info:
  title: Avido API
  description: >-
    Avido's API for LLM usage events, tool calls, trace management, webhook
    validation, and more. See each endpoint's request/response schema for
    details.
  version: 0.1.0
  contact:
    name: Avido Support
    email: support@avidoai.com
    url: https://avidoai.com/support
servers:
  - url: https://api.avidoai.com
    description: Production API
security:
  - ApiKey: []
    ApplicationId: []
paths:
  /v0/auth/providers:
    get:
      tags:
        - Authentication
      summary: List enabled auth providers
      description: >-
        Returns which auth providers are currently configured on the API server:
        the set of SSO social providers (derived from `GOOGLE_CLIENT_ID/SECRET`,
        `MICROSOFT_CLIENT_ID/SECRET`) and whether an email provider (Loops) is
        configured via `LOOPS_API_KEY`. This endpoint is unauthenticated so that
        the login UI can render the correct set of provider buttons before the
        user signs in.
      operationId: listAuthProviders
      responses:
        '200':
          description: Successfully retrieved enabled auth providers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthProvidersResponse'
              examples:
                success:
                  summary: Both SSO providers and email enabled
                  value:
                    providers:
                      - google
                      - microsoft
                    emailProviderConfigured: true
                none:
                  summary: No providers enabled
                  value:
                    providers: []
                    emailProviderConfigured: false
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    AuthProvidersResponse:
      type: object
      properties:
        providers:
          type: array
          items:
            $ref: '#/components/schemas/SocialProvider'
          description: >-
            SSO providers enabled on the API server, based on server-side env
            vars.
          example:
            - google
            - microsoft
        emailProviderConfigured:
          type: boolean
          description: >-
            Whether an email provider (Loops) is configured on the API server
            via `LOOPS_API_KEY`. When false, email-dependent auth flows such as
            magic-link sign-in should be hidden in the UI.
          example: true
      required:
        - providers
        - emailProviderConfigured
      additionalProperties: false
      title: AuthProvidersResponse
      description: >-
        Response body for the auth-providers endpoint. The value changes only on
        deploy.
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message explaining the error.
          example: Resource not found
      required:
        - message
      additionalProperties: false
      title: ErrorResponse
      description: Standard error format for failed API operations.
    SocialProvider:
      type: string
      enum:
        - google
        - microsoft
      title: SocialProvider
      description: Identifier of a supported SSO social provider
      example: google
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your unique Avido API key
    ApplicationId:
      type: apiKey
      in: header
      name: x-application-id
      description: Your unique Avido Application ID

````