---
title: "Get OpenID Connect Agent authentication settings"
method: GET
path: "/agent-authentication/openid"
tags: ["AgentAuthentication"]
---

# Get OpenID Connect Agent authentication settings

`GET /agent-authentication/openid`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/agent-authentication/openid`
- Auth: API key in header `Authorization`

Returns the OpenID Connect Agent authentication configuration.

## Response `200`

Successful response

- object
  - `enabled` boolean: Determines whether OpenID Connect Agent authentication is enabled
  - `openid_provider` string: OpenID Connect provider
  - `client_id` string: Client ID
  - `metadata_url` string: Metadata URL
  - `prompt` string: Prompt values
  - `callback_ports` number: Callback ports
  - `scope` string: Scopes
  - `require_reauthorization` boolean: When enabled, Agents will be required to re-authorize after any OpenID configuration change

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
