---
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

---

[API](https://skmtc.net/bacalhau-project/apis/bacalhau-api.md) · [All operations](https://skmtc.net/bacalhau-project/apis/bacalhau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bacalhau-project/bacalhau-api/revisions/9470ca2a198b/schema)
