You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an org-scoped deploy token, the --org parameter is superfluous since the org token will only have access to its one org. However, providing this parameter with the org name matching the token currently results in error: Access Denied. I have only tested this with an org name that has spaces.
Repro:
Create org "My Org Name"
Create access token for this org and export it as DENO_DEPLOY_TOKEN in a shell.
Run deployctl deploy --org="My Org Name"
Expected outcome:
Command proceeds as the token has access to the specified org.
Actual outcome:
Command fails with Access Denied when fetching org details:
% mkdir -p /tmp/wat; cd /tmp/wat
% deno init
% deployctl deploy --org="My Org Name"
i Using config file '/private/tmp/wat/deno.json'
‼ No project name or ID provided with either the --project arg or a config file.
⠸ You have specified the organization My Org Name. Fetching details...
error: Access Denied
The text was updated successfully, but these errors were encountered:
When using an org-scoped deploy token, the
--org
parameter is superfluous since the org token will only have access to its one org. However, providing this parameter with the org name matching the token currently results inerror: Access Denied
. I have only tested this with an org name that has spaces.Repro:
DENO_DEPLOY_TOKEN
in a shell.deployctl deploy --org="My Org Name"
Expected outcome:
Command proceeds as the token has access to the specified org.
Actual outcome:
Command fails with Access Denied when fetching org details:
The text was updated successfully, but these errors were encountered: