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