Deploy Cli-Generated Shopify App

Topic summary

A developer successfully created a Rails app using Shopify CLI v3 that works locally but encounters an X-Frame-Options error when trying to access the Shopify admin panel in production.

Error Details:

  • The app refuses to display in a frame due to X-Frame-Options being set to ‘deny’
  • Error occurs at the admin.shopify.com URL

Modifications Made:

  1. Changed the database to PostgreSQL
  2. Added an endpoint and controller to serve static assets from the frontend

The discussion appears to be seeking help resolving the frame display issue that’s preventing the deployed app from loading within Shopify’s admin interface.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

Hi Guys,

I’ve created a Rails app using the Shopify cli v3. It’s working good locally, but when I’m trying to access the admin I get this error:

Refused to display ‘https://admin.shopify.com/’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.

A few modifications I did to the generated app:

  1. Changed the DB to Postgres

  2. Added an endpoint and controller to serve static assets from the frontend

1 Like