fix(security-review): confluence-doc cloudId via accessible-resources #41

Merged
amoussa1229 merged 1 commit from fix/confluence-doc-cloudid-accessible-resources into main 2026-06-22 23:47:38 +00:00

1 commit

Author SHA1 Message Date
d93198a556 fix(security-review): resolve Confluence cloudId via accessible-resources, not /_edge/tenant_info
The public /_edge/tenant_info endpoint returns an HTML 'Page Unavailable' on the
seahavenind site, so cloudId auto-resolution failed. Fetch the token first, then
resolve cloudId from the OAuth-native https://api.atlassian.com/oauth/token/
accessible-resources (Bearer), preferring the resource whose url matches the
configured site, else the first. CONFLUENCE_CLOUD_ID override still honored.
Canary 3/3 (offline), shellcheck clean.
2026-06-22 19:47:19 -04:00