---
title: store auth
description: >-
  Authenticates the app against the specified store for store commands and
  stores an online access token for later reuse.
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/store/store-auth'
  md: 'https://shopify.dev/docs/api/shopify-cli/store/store-auth.md'
api_name: shopify-cli
---

# store auth

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.

#### Flags

The following flags are available for the `store auth` command:

* **--scopes \<value>**

  **string**

  **required**

  **env: SHOPIFY\_FLAG\_SCOPES**

  Comma-separated Admin API scopes to request for the app.

* **-s, --store \<value>**

  **string**

  **required**

  **env: SHOPIFY\_FLAG\_STORE**

  The myshopify.com domain of the store.

* **--no-color**

  **env: SHOPIFY\_FLAG\_NO\_COLOR**

  Disable color output.

* **--verbose**

  **env: SHOPIFY\_FLAG\_VERBOSE**

  Increase the verbosity of the output.

* **-j, --json**

  **env: SHOPIFY\_FLAG\_JSON**

  Output the result as JSON. Automatically disables color output.

Examples

### Examples

* ####

  ##### store auth

  ```sh
  shopify store auth [flags]
  ```

***
