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

# Get public Thunder CLI OAuth configuration

> Returns the public Connected App endpoints, client ID, and scopes used by tnr. No project secret is returned.



## OpenAPI

````yaml https://api.thundercompute.com:8443/openapi.json get /auth/cli/oauth-config
openapi: 3.1.0
info:
  contact:
    email: support@thundercompute.com
    name: Thunder Compute API Support
    url: https://thundercompute.com/support
  description: >-
    Retrieve current GPU availability using mode-less spec keys

    Recommended for new integrations. The /status and /v1/status endpoints
    retain their legacy configuration keys for compatibility.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: Thunder Compute API
  version: '1.0'
servers:
  - description: Production server
    url: https://api.thundercompute.com:8443/v1
  - description: Production server
    url: https://api.thundercompute.com:8443
security: []
externalDocs:
  description: ''
  url: ''
paths:
  /auth/cli/oauth-config:
    get:
      tags:
        - auth
      summary: Get public Thunder CLI OAuth configuration
      description: >-
        Returns the public Connected App endpoints, client ID, and scopes used
        by tnr. No project secret is returned.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.CLIOAuthConfigResponse'
          description: OK
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Service Unavailable
components:
  schemas:
    thundertypes.CLIOAuthConfigResponse:
      properties:
        authorization_url:
          type: string
        client_id:
          type: string
        resource:
          type: string
        revocation_url:
          type: string
        scopes:
          items:
            type: string
          type: array
          uniqueItems: false
        token_url:
          type: string
      required:
        - authorization_url
        - client_id
        - resource
        - revocation_url
        - scopes
        - token_url
      type: object
    thundertypes.ErrorResponse:
      properties:
        code:
          example: 400
          type: integer
        error:
          example: invalid_request
          type: string
        message:
          example: The request is malformed
          type: string
      type: object

````