---
title: "Returns the OAuth2 configuration of the node."
method: GET
path: "/api/v1/agent/authconfig"
tags: ["Ops"]
---

# Returns the OAuth2 configuration of the node.

`GET /api/v1/agent/authconfig`

## Response `200`

OK

- ApimodelsGetAgentNodeAuthConfigResponse
  - `config` TypesOauth2Config
    - `Audience` string
    - `DeviceAuthorizationEndpoint` string
    - `DeviceClientID` string
    - `Issuer` string
    - `JWKSUri` string
    - `PollingInterval` integer
    - `ProviderID` string
    - `ProviderName` string
    - `Scopes` string[]
    - `TokenEndpoint` string
  - `version` string

## Other responses

- `500` — Internal Server Error

## Changes

- **2025-03-18** `1c936367529e` — 1 info
  - endpoint added
- **2024-07-03** `5c4b2ddaaaba` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bacalhau-project/apis/bacalhau-api/changes/api/v1/agent/authconfig/get.md)

---

[API](https://skmtc.dev/bacalhau-project/apis/bacalhau-api.md) · [All operations](https://skmtc.dev/bacalhau-project/apis/bacalhau-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bacalhau-project/apis/bacalhau-api/revisions/9470ca2a198b?raw)
