---
title: "获取OIDC登录配置"
method: GET
path: "/auth/oidc/config"
tags: ["认证"]
---

# 获取OIDC登录配置

`GET /auth/oidc/config`

返回OIDC是否启用以及provider展示名称，供前端决定是否展示OIDC登录入口

## Response `200`

OK

- GithubComTencentWeKnoraInternalTypesOIDCConfigResponse
  - `enabled` boolean
  - `provider_display_name` string
  - `success` boolean

## Changes

- **2026-03-30** `08f8a25fbf1d` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/auth/oidc/config/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/a5ce73ad8921/schema)
