You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/extensions
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>
9 months ago
..
acpx feat(acp): add kimi harness support surfaces 9 months ago
bluebubbles test: fix strict runtime mock types in channel tests 9 months ago
copilot-proxy build: bump versions to 2026.3.2 9 months ago
device-pair feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
diagnostics-otel build: bump versions to 2026.3.2 9 months ago
diffs test(perf): trim fixed waits in relay and startup tests 9 months ago
discord build: bump versions to 2026.3.2 9 months ago
feishu fix(feishu): correct invalid scope name in permission grant URL (#32509) 9 months ago
google-gemini-cli-auth chore: remove unreachable "LINUX" from resolvePlatform return type 9 months ago
googlechat feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
imessage fix(ci): align strict nullable typing across channels and ui 9 months ago
irc feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
line test(perf): trim fixed waits in relay and startup tests 9 months ago
llm-task build: bump versions to 2026.3.2 9 months ago
lobster refactor(gateway): hard-break plugin wildcard http handlers 9 months ago
matrix feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
mattermost feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
memory-core ci: fix lint and audit regressions on main 9 months ago
memory-lancedb fix: add regression for memory-lancedb dimensions pass-through (#32036) (thanks @scotthuang) 9 months ago
minimax-portal-auth feat(models): support minimax highspeed across onboarding 9 months ago
msteams feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
nextcloud-talk feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
nostr refactor(gateway): hard-break plugin wildcard http handlers 9 months ago
open-prose build: bump versions to 2026.3.2 9 months ago
phone-control refactor(gateway): harden plugin http route contracts 9 months ago
qwen-portal-auth refactor(extensions): dedupe channel config, onboarding, and monitors 9 months ago
shared fix(acpx): share windows wrapper resolver and add strict hardening mode 9 months ago
signal fix(ci): align strict nullable typing across channels and ui 9 months ago
slack fix(ci): align strict nullable typing across channels and ui 9 months ago
synology-chat fix(synology-chat): prevent restart loop in startAccount (#23074) 9 months ago
talk-voice feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
telegram fix: add regression tests for telegram token guard (#31973) (thanks @ningding97) 9 months ago
test-utils fix: resolve pi-tools typing regressions 9 months ago
thread-ownership test(extensions): cast fetch mocks to satisfy tsgo 9 months ago
tlon fix(security): pin tlon api source and secure hold music url 9 months ago
twitch build: bump versions to 2026.3.2 9 months ago
voice-call refactor(voice-call): unify runtime cleanup lifecycle 9 months ago
whatsapp refactor(extensions): dedupe channel config, onboarding, and monitors 9 months ago
zalo feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580) 9 months ago
zalouser fix: align gateway and zalouser typing imports 9 months ago