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

---

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