@anton.andrusenko/shopify-mcp-admin 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,10 +170,13 @@ async function validateOAuthAccessToken(token, prisma) {
170
170
  email: accessToken.tenant.email,
171
171
  // No apiKeyId for OAuth tokens
172
172
  defaultShop,
173
- allowedShops
173
+ allowedShops,
174
+ // OAuth client attribution (Story 16.2, AC-16.2.10)
175
+ oauthClientId: accessToken.client?.id,
176
+ oauthClientName: accessToken.client?.clientName
174
177
  };
175
178
  log.debug(
176
- `[mcp-auth] OAuth access token validated for tenant: ${accessToken.tenantId.substring(0, 8)}...`
179
+ `[mcp-auth] OAuth access token validated for tenant: ${accessToken.tenantId.substring(0, 8)}... (client: ${accessToken.client?.clientName || "unknown"})`
177
180
  );
178
181
  return {
179
182
  valid: true,