Shopify CLI Docs

shopify store auth

Authenticate an app against a store for store commands.

Authenticates the app against the specified store for store commands and stores an online access token for later reuse.

Re-run this command if the stored token is missing, expires, or no longer has the scopes you need.

Usage

shopify store auth [flags]

Summary

Authenticate an app against a store for store commands.

Flags

  • --no-color — Disable color output. optional Environment: SHOPIFY_FLAG_NO_COLOR.
  • --scopes <value> string — Comma-separated Admin API scopes to request for the app. required Environment: SHOPIFY_FLAG_SCOPES.
  • --verbose — Increase the verbosity of the output. optional Environment: SHOPIFY_FLAG_VERBOSE.
  • -j, --json — Output the result as JSON. Automatically disables color output. optional Environment: SHOPIFY_FLAG_JSON.
  • -s, --store <value> string — The myshopify.com domain of the store to authenticate against. required Environment: SHOPIFY_FLAG_STORE.

Official source

On this page