Configure Shopify expiring access tokens in Maarg

# Configure Shopify expiring access tokens in Maarg

Configure the signing key on each Shopify shop remote that uses the HotWax public app. After saving the key, check the current token and its expiration in Maarg.

## Prerequisites

- On the Shopify shop page in Maarg, open **Shop Remotes** and locate the remote that uses the HotWax public app. Confirm that **Client Id** is `ec8cec8c4299d0ea17269da567eebc28`.

- Have the app’s **Key Id** and matching **Private Key (PKCS#8 PEM)** ready. The corresponding public key must be registered in the app’s Shopify Partner Dashboard under **Settings → Credentials → Public keys**.

## 1. Configure the signing key

  1. In the shop remote row, click **Edit Signing Key**.

2. Enter the **Key Id** and **Private Key (PKCS#8 PEM)**.

3. Click **Update**.

## 2. Verify the token and expiration

In the same shop remote row, click **Private Key** to open the **Signing Key** dialog. If Maarg successfully generated a Shopify token, the dialog displays **Current Token** and **Token Expires At**, which shows the remaining lifetime. If Maarg could not generate a token, the dialog displays an error message. Check the Client Id, Key Id, and matching key pair, then reopen the dialog to verify.

## Console warning for permanent tokens

If Maarg is still using a permanent access token, the console logs a warning like the following. The value in brackets identifies the shop remote.

Shop remote [SHOP_CONFIG_OMS] is using a permanent (non-expiring) access token. To use application-only access tokens via the client_credentials grant, add a public key in your app's Partner Dashboard (Settings > Credentials > Public keys) and configure the key ID and private key on this shop remote.

## Action required before December 15, 2026

Configure and verify the expiring access token flow on every Maarg instance that uses the HotWax public app before December 15, 2026.
This feature is available in the following Shopify Connector releases:

  • v4.6.8 and later
  • v4.3.28
  • v3.5.13

This feature is also available in the following Maarg releases:

  • v6.7.0 and later
  • v6.6.10
  • v6.3.37
  • v5.5.42