Files

32 lines
956 B
YAML
Raw Permalink Normal View History

2026-02-05 16:30:37 +08:00
addonType: oauth
name: microsoft
title: Microsoft认证
desc: Microsoft OAuth2登录
icon: simple-icons:microsoft
showTest: false
input:
clientId:
title: ClientId
2026-03-08 01:17:39 +08:00
helper: >-
[Microsoft Entra
ID](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps)创建应用后获取
2026-02-05 16:30:37 +08:00
required: true
clientSecretKey:
title: ClientSecretKey
component:
placeholder: ClientSecretKey / appSecretKey
2026-03-08 01:17:39 +08:00
helper: 客户端凭据->证书与机密->客户端密码->新客户端密码
2026-02-05 16:30:37 +08:00
required: true
tenantId:
title: TenantId
component:
placeholder: common 或 租户ID
2026-03-08 01:17:39 +08:00
helper: |-
根据受支持的账户类型填写 common 或 租户ID,默认为common(Microsoft个人账户)。
租户ID获取: 概述 -> 目录(租户) ID
2026-02-05 16:30:37 +08:00
value: common
required: false
pluginType: addon
type: builtIn
scriptFilePath: /plugins/plugin-oauth/oauth2/plugin-microsoft.js