mirror of
https://github.com/larksuite/cli.git
synced 2026-07-07 09:11:44 +08:00
When config.json is hand-edited, the appId field can become out of sync with the appSecret keychain reference (e.g. appId changed but appSecret.id still points to the old app). This causes silent auth failures at API call time. Add a pre-flight check in ResolveConfigFromMulti that compares the two before any keychain lookup or OAPI request, failing fast with actionable guidance. Change-Id: I74b9ab640642dde3df1ad70890b93b91ee422022