Explain Feishu basic profile permission in identity diagnostics

This commit is contained in:
Codex committed 2026-10-23 02:11:29 +08:00
1 parent d4eddf7365
commit 46390194ee
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ func (p *Provider) DirectoryCheck(c *gin.Context) {
}
name, source, err := fetchDirectoryNameWithSource(c.Request.Context(), idp.AppID, secret, strings.TrimPrefix(input.Subject, idp.TenantKey+":"))
if err != nil {
c.JSON(200, gin.H{"available": false, "hint": "请在飞书开放平台检查 contact:user.base:readonly 权限、应用发布状态和通讯录可见范围"})
c.JSON(200, gin.H{"available": false, "hint": "请在飞书开放平台检查应用身份权限 contact:user.basic_profile:readonly、应用发布状态及通讯录可见范围"})
return
}
c.JSON(200, gin.H{"available": true, "name": name, "source": source})