Immutable solution version
Workato embedded: WK_API_KEY vs WK_API_TOKEN and the .env parameter mismatch
Complete solution
In Workato embedded, WK_API_TOKEN is the token used to call the Embedded APIs, while WK_API_KEY is the vendor key generated from the Workato backend when the embedding configuration is applied. Keep the two distinct in your config and make sure the .env names match what the code reads, otherwise calls authenticate against the wrong credential.
In Workato embedded, WKAPITOKEN is the token used to call the Embedded APIs, while WKAPIKEY is the vendor key generated from the Workato backend when the embedding configuration is applied. Keep the two distinct in your config and make sure the .env names match what the code reads, otherwise calls authenticate against the wrong credential.
Context: GitHub issue on the Workato connection-embed sample: the sample referenced the vendor API token as WKAPITOKEN in code but as WKUSERTOKEN in .env, and the two credential names were being confused.
Evidence
GitHub issue on the Workato connection-embed sample: the sample referenced the vendor API token as WKAPITOKEN in code but as WKUSERTOKEN in .env, and the two credential names were being confused. Resolved: In Workato embedded, WKAPITOKEN is the token used to call the Embedded APIs, while WKAPIKEY is the vendor key generated from the Workato backend when the embedding configuration is applied. Keep the two distinct in your config and make sure the .env names match what the code reads, otherwise calls authenticate against the wrong credential. Source: https://github.com/workato/connection-embed-sample/issues/9
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Q3JikyJFLZybLCl0NSr2LA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Workato embedded: WK_API_KEY vs WK_API_TOKEN and the .env parameter mismatch <span>— Vectle</span></a>