/aem-edge-delivery-services:da-authfrom aem-edge-delivery-services
Obtains, reuses, refreshes, and troubleshoots Adobe IMS authentication for Experience Workspace (DA) content APIs (admin.da.live and api.aem.live). Use before pushing content, listing documents, or triggering previews when credentials are missing or returning 401/403.
Ships in aem-edge-delivery-services. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Get an Adobe IMS token for the Experience Workspace (formerly DA) content APIs: the DA
API or the Source Bus API. Callers can keep the name DA_TOKEN.
Reuse credentials already accepted by the target API. If an authenticated
MCP/backend already handles login, use that instead; do not assume it exposes a
login tool.
Use the caller's known content source. If unclear, confirm the site configuration or ask the user: a populated DA listing can contain onboarding documents while the authored content lives in Source Bus. See da-content for content operations.
| Content source | Protected read example |
|---|---|
DA (admin.da.live) | https://admin.da.live/list/{{ORG}}/{{REPO}}/{{FOLDER}} |
Source Bus (api.aem.live) | https://api.aem.live/{{ORG}}/sites/{{SITE}}/source/{{PATH}} |
Choose a known, existing protected folder or document. api.aem.live accepts eligible IMS Bearer tokens
with aem.frontend.all or aem.backend.all; the helper requests aem.frontend.all.
DA acceptance does not prove access to a Source Bus site.
The helper caches access_token and expires_at (epoch milliseconds) in
~/.aem/da-token.json. It reuses unexpired tokens with a 60-second buffer;
missing expiry triggers login. Do not assume a fixed token lifetime.
Replace {{READ_URL}} with the protected read above. Use the token in the same
shell; never print, paste or commit it:
DA_TOKEN=$(npx github:adobe-rnd/da-auth-helper token) &&
curl -sS -o /dev/null -w '%{http_code}\n' \
-H "Authorization: Bearer $DA_TOKEN" "{{READ_URL}}"
The user completes browser sign-in and selects the IMS org that provides access. If login cannot run here, have the user run it locally; do not ask for a DevTools token.
Verify the API the caller will use. On api.aem.live, /status/ can return 200
anonymously, so it proves nothing. An auth_token cookie can override the Bearer
header; test without auth cookies.
| Symptom | Check |
|---|---|
| 401 | Token missing, invalid or expired, or IMS user lookup failed. Check the credential and target API; do not loop login. |
| 403 | Account/org lacks access for that path/action. Ask which IMS org supplies the user's group access (not the URL's org); do not assume a new grant is needed. |
Helper login and token both reuse an unexpired cache, even if rejected. To replace it:
npx github:adobe-rnd/da-auth-helper logout
This clears only the helper cache, not the browser session. Rerun the acquire-and- verify command, select the intended IMS org, and retry the same protected read. If 403 persists in the intended context, check path/action permissions; refreshing credentials does not add grants.
If the browser keeps the wrong account/org context, these alternatives restored access in live checks; neither is guaranteed to force an org chooser:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
adobe-ims, da-auth, experience-workspace, aem-live, authentication
npx claudepluginhub adobe/skills --plugin aem-edge-delivery-services26 skills in this plugin
/aem-block-libraryUse when a new or changed AEM Edge Delivery Services block needs an entry in the block library that authors use to find and insert it: the Experience Workspace (formerly DA, Document Authoring) library or the Sidekick Library for Word and Google Docs projects. Covers finding the project's library, the block page, variants, the sheet row, library metadata and the steps that happen outside the repo. For tests that run against the library page use testing-blocks./aem-cliUse this when running or troubleshooting the local Edge Delivery dev server or the Adobe AEM CLI (@adobe/aem-cli, formerly helix-cli; `aem up`, `aem content`, `aem import`). Covers starting `aem up` and its port (git worktrees, a port already in use), serving local test pages from `./content/`, cloning da.live content locally with `aem content clone` to preview, inspect or edit it and pushing edits back, `aem up` failures (cert errors, proxy 404s, local pages not found), .env / AEM_* configuration, HTTPS, installing or upgrading the CLI, and the importer server. For da.live content-format rules or the DA Source API use da-content; for writing EDS block code use content-driven-development.Other plugins' skills for the same job