Hi Shopify Support Team,
We’re following up on our security incident (Ticket #0d2b4207-c525-4c0d-9afb-6f031afa2711) where we were required to rotate API credentials and refresh access tokens.
What We’ve Completed:
-
Generated new API credentials (client_secret) -
Removed old API credentials -
Refreshed access tokens for our merchant base (~91% success rate) -
Updated offline access tokens specifically -
Updated all environment variables in our hosting
Current Problem:
After completing the token refresh process, merchants cannot open the app in production. The app runs successfully in our local development environment, but in production we’re seeing 401 Unauthorized errors related to App Proxy in our logs.
Error Details:
-
Error:
401 Unauthorized - App Proxy -
Frequency: Intermittent (affecting some stores, not all)
-
Pattern: No clear correlation with which stores had successful token refresh
Our Questions:
-
Is the app being unlisted/unpublished causing this issue? Or is this a separate technical problem?
-
Does the App Proxy require specific reconfiguration after credential rotation? We’ve updated tokens but the proxy authentication is still failing.
-
Do we need to handle offline vs online tokens differently for App Proxy requests?
-
Is there a propagation delay or caching issue that could be causing intermittent 401 errors after token refresh?
Why This is Urgent:
We need to understand if this is blocking republication of our app, or if it’s a separate technical issue we need to resolve. Our merchants currently cannot access the app, and we want to ensure we’re addressing the right problem before requesting republication.
Technical Setup:
-
Framework: Remix (Shopify official template)
-
Hosting: Fly.io
-
Using:
@shopify/shopify-app-remixfor authentication -
Features: Embedded admin app + App Proxy for storefront
Could you please help us understand:
-
Whether the unlisted status is related to this issue
-
What specific steps we need to take to resolve the App Proxy 401 errors
-
Any diagnostics or logs we should review
Thank you for your guidance.
Best regards,