---
title: "Shopify DevTools"
description: "Inspect live store metadata and authentication status during development."
canonical_url: "https://shopify.yan.ad/guides/devtools"
---
# Shopify DevTools

> Inspect live store metadata and authentication status during development.

Run your app in development, open it inside Shopify admin, then open Nuxt DevTools and select the **Shopify** tab. The integration uses DevTools v3's custom iframe tab API; the playground pins DevTools to 3.4.4 for Shopify CLI compatibility.

The inspector displays:

- Store name, myshopify domain, currency, and storefront URL.
- Installed scopes returned by Shopify and configured requested scopes.
- Admin API version, app URL, and distribution.
- Online/offline token mode, access/refresh expiry dates, and whether refresh credentials are present.

Select **Refresh store** to make a new authenticated, read-only Admin API request. Expiring offline sessions use the module's normal renewal lifecycle. The inspector never returns access tokens, refresh tokens, API secrets, session state, or the complete runtime configuration.

## Authentication and availability

The tab's page and API endpoint are registered only when `nuxt.options.dev` is enabled. The endpoint also rejects non-development requests and sends `Cache-Control: no-store`.

The iframe obtains an ID token from an authenticated App Bridge instance in a same-origin ancestor app window. It does not accept shop names or credentials entered into a form, enumerate stored sessions, or expose store data to anonymous requests. Open the app through Shopify admin; a standalone localhost tab does not have the required identity context. An inaccessible ancestor frame produces an explanatory connection error rather than bypassing authentication.

The default tab URL is `/_shopify/devtools`; its authenticated data endpoint is `/_shopify/devtools/store`. Both paths are reserved for this development integration.

For Nuxt's current v4 integration API, see the [module authors guide](https://nuxt.com/modules/devtools/module-authors). This module deliberately uses the pinned v3 API instead of enabling v4.

## Open the app standalone

From the Shopify tab inside the authenticated embedded app, select **Open Standalone**.
The new tab redeems a 30-second, single-use ticket, removes it from the address bar,
and opens the app home page without another login. A 30-minute, HttpOnly,
SameSite=Strict development cookie authorizes app API requests using the existing
server-side Shopify session. Restarting the dev server or selecting **Disconnect**
revokes this development context.

A visible standalone navigation bar identifies this mode. A limited App Bridge
shim provides shop configuration, local loading/toast feedback, and local overlay
calls. It does not mint Shopify ID tokens or reproduce Shopify admin UI. Server
API data remains real and subject to the installation's granted permissions.
Mutations require a same-origin Origin header. Direct SDK/ID-token consumers and
host-only App Bridge APIs are not supported by the shim.

The standalone connection applies only in development. Do not share its cookie
or one-time handoff link: it grants the connected app session's API permissions.


## Sitemap

See the full [sitemap](https://shopify.yan.ad/sitemap.md) for all pages.
