---
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未启用

---

[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/abce9036def5/schema)
