Loading...
Loading...
Obtains a valid Adobe IMS access token for the DA (Document Authoring) API. Use this skill as a prerequisite step whenever another skill needs to call admin.da.live — for example, before pushing HTML content, listing documents, or triggering a DA preview. Do NOT use this skill if you already have a valid DA_TOKEN in scope from a previous step in the same session.
npx skill4agent add adobe/skills da-authDA_TOKENadmin.da.liveadmin.da.liveDA_TOKENims-na1.adobelogin.comDA_TOKEN=$(node -e "
const fs = require('fs');
const p = process.env.HOME + '/.aem/da-token.json';
try {
const t = JSON.parse(fs.readFileSync(p, 'utf8'));
if (t.expires_at > Date.now() + 60000) process.stdout.write(t.access_token);
} catch {}
")DA_TOKENda-auth-helperda-auth-helper~/.aem/da-token.json# Run directly without a global install
DA_TOKEN=$(npx github:adobe-rnd/da-auth-helper token)npxnpm install -g github:adobe-rnd/da-auth-helper
DA_TOKEN=$(da-auth-helper token)Please complete the Adobe IMS login in the browser window that just opened. The token will be captured automatically once you log in.
DA_TOKENeyJI need an Adobe IMS access token to push content to DA. You can copy one from your browser:
- Open da.live and log in
- Open DevTools → Network tab → find any request to
admin.da.live- Copy the
value (without theAuthorization: Bearer <token>prefix)Bearer- Paste it here
curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer {{DA_TOKEN}}" \
"https://admin.da.live/list/{{ORG}}/{{REPO}}"200DA_TOKEN| Symptom | Likely cause | Fix |
|---|---|---|
| No cached token or token expired | Proceed to Step 2 |
| Browser window does not open | | Use Option B (MCP) or Option C (manual paste) |
| Network restrictions on GitHub package registry | Use Option B (DA MCP server) or Option C (manual token paste) |
Step 3 returns | Token expired between steps | Re-run Step 2 to refresh |
Step 3 returns | Authenticated user lacks access to | Ask the user to verify their DA permissions for that org/repo |
~/.aem/da-token.json