I am getting an error whenever I try to open the app in the same tab, how can we fix it
Refused to display ‘https://react.shopify-staging.curiosearch.in/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.
Topic summary
A developer is encountering an X-Frame-Options error when attempting to open their Shopify app in the same browser tab. The error message indicates that the app URL (hosted at react.shopify-staging.curiosearch.in) is being refused display in a frame due to X-Frame-Options being set to ‘sameorigin’.
Technical Issue:
- The X-Frame-Options header is blocking the app from loading within an iframe or same-tab context
- This is a common security restriction that prevents clickjacking attacks
Status:
- No solutions or responses have been provided yet
- The issue remains unresolved and awaiting community input on how to properly configure the app to allow same-tab opening while maintaining security
1 Like
