openclaw/extensions/feishu
Tak Hoffman 6cdfd2eaaa
fix(feishu): correct invalid scope name in permission grant URL (#32509)
* fix(feishu): correct invalid scope name in permission grant URL

The Feishu API returns error code 99991672 with an authorization URL
containing the non-existent scope `contact:contact.base:readonly`
when the `contact.user.get` endpoint is called without the correct
permission. The valid scope is `contact:user.base:readonly`.

Add a scope correction map that replaces known incorrect scope names
in the extracted grant URL before presenting it to the user/agent,
so the authorization link actually works.

Closes #31761

* chore(changelog): note feishu scope correction

---------

Co-authored-by: SidQin-cyber <sidqin0410@gmail.com>
2026-03-02 22:06:42 -06:00
..
skills feat(feishu): support Docx table create/write + image/file upload actions in feishu_doc (#20304) 2026-02-27 18:00:56 -06:00
src fix(feishu): correct invalid scope name in permission grant URL (#32509) 2026-03-02 22:06:42 -06:00
index.ts feat(feishu): add chat info/member tool (openclaw#14674) 2026-02-28 10:00:31 -06:00
openclaw.plugin.json feat(feishu): replace built-in SDK with community plugin 2026-02-06 09:32:10 +09:00
package.json build: bump versions to 2026.3.2 2026-03-02 04:55:53 +00:00