---
title: "获取OIDC授权地址"
method: GET
path: "/auth/oidc/url"
tags: ["认证"]
---

# 获取OIDC授权地址

`GET /auth/oidc/url`

根据后端OIDC配置生成第三方登录跳转地址

## Query parameters

- `redirect_uri` string, required

## Response `200`

OK

- GithubComTencentWeKnoraInternalTypesOIDCAuthURLResponse
  - `authorization_url` string
  - `provider_display_name` string
  - `state` string
  - `success` boolean

## Other responses

- `400` — 请求参数错误
- `403` — OIDC未启用

## 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/url/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)
