[Bug]: shopify app deploy
automatically selects client-id, if not provided
#5053
Closed
2 tasks done
Labels
Area: @shopify/app
@shopify/app package issues
State: Waiting for feedback
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
shopify app deploy
should deploy the config specified viashopify app config use
or--config=<path to file>
Actual behavior
I have two app
.toml
files for dev and prod. I previously was swapping between them withshopify app config use
and was able to deploy both apps separately just withshopify app deploy
. Currently,shopify app dev
andshopify app deploy
seem "locked" to the dev version.Both
dev
anddeploy
always use the api key from the dev version and overwrite.../shopify-cli-app-nodejs/config.json
with the incorrect app id, even if I set it again withshopify app config use
.dev
shows the warning (The flag
api-keyhas been deprecated in favor of
client-id),
deploy` does not--config
does not work--client-id
does workThese commands work fine:
shopify app versions list
shopify app info
I'm assuming it's a local setup thing, but as far as I know, I didn't change anything except upgrading the cli, so others might run into this.
Verbose output
Sorry, I don't have time to redact the output right now! All I've got is:
FindApp
runs with the wrongapiKey
value.Reproduction steps
I'll add exact steps later if I can but so far all I know is:
shopify app deploy
in a project with multiple deployed.toml
configurations, switching between them withshopify app config use
Operating System
Mac 14.6 (23G80)
Shopify CLI version (
shopify --version
)@shopify/cli/3.71.4 darwin-arm64 node-v20.16.0
Shell
zsh
Node version (run
node -v
if you're not sure)20.16.0
What language and version are you using in your application?
node v20.16.0
The text was updated successfully, but these errors were encountered: