WeKnora/examples/plugins/jira/schemas/system.yaml

18 lines
773 B
YAML

type: object
properties:
client_id:
type: string
title: OAuth client ID
description: "Client ID of an OAuth 2.0 (3LO) app in the Atlassian developer console, with the Jira API scopes read:jira-work and read:jira-user and the callback URL <WeKnora address>/api/v1/plugin-oauth/callback"
x-order: 1
x-i18n:
title: { zh-CN: OAuth 客户端 ID }
description: { zh-CN: "在 Atlassian 开发者控制台创建的 OAuth 2.0 (3LO) 应用的 Client ID。应用需开通 Jira API 的 read:jira-work 与 read:jira-user 权限,回调地址填 <WeKnora 地址>/api/v1/plugin-oauth/callback" }
client_secret:
type: string
title: OAuth client secret
x-secret: true
x-order: 2
x-i18n:
title: { zh-CN: OAuth 客户端密钥 }