---
title: "Get public Thunder CLI OAuth configuration"
method: GET
path: "/auth/cli/oauth-config"
tags: ["Authentication"]
---

# Get public Thunder CLI OAuth configuration

`GET /auth/cli/oauth-config`

## Request

- Base URL: `https://api.thundercompute.com:8443/v1`
- URL: `https://api.thundercompute.com:8443/v1/auth/cli/oauth-config`
- Auth: none declared

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

## Response `200`

OK

- ThundertypesCLIOAuthConfigResponse
  - `authorization_url` string, required
  - `client_id` string, required
  - `resource` string, required
  - `revocation_url` string, required
  - `scopes` string[], required
  - `token_url` string, required

## Other responses

- `503`: Service Unavailable

## Changes

- **2026-10-02** `e4eed4aafabf`: 2 info
  - api tag `Authentication` added
  - api tag `auth` removed
- **2026-09-16** `3c7513ed0011`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thundercompute/apis/thunder-compute-api/changes/auth/cli/oauth-config/get.md)

---

[API](https://skmtc.dev/thundercompute/apis/thunder-compute-api.md) - [All operations](https://skmtc.dev/thundercompute/apis/thunder-compute-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thundercompute/apis/thunder-compute-api/revisions/62bf97c7bba4?raw)
