You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am getting this error KeyError at /shopify/finalize/ 'shopify_oauth_state_param' while trying to load the app inside Shopify admin.
It seems the request.session not retaining inside the iframe. Would you like to share how can I make the session persist inside the iframe(inside the Shopify admin)
I've tried by commenting the middleware #'django.middleware.clickjacking.XFrameOptionsMiddleware',
To load the app inside Shopify admin I've wrtten (This is coppied from the Shopify auth lib):
Hi! I am getting this error KeyError at /shopify/finalize/ 'shopify_oauth_state_param' while trying to load the app inside Shopify admin.
It seems the request.session not retaining inside the iframe. Would you like to share how can I make the session persist inside the iframe(inside the Shopify admin)
I've tried by commenting the middleware #'django.middleware.clickjacking.XFrameOptionsMiddleware',
To load the app inside Shopify admin I've wrtten (This is coppied from the Shopify auth lib):
<script type="text/javascript" src="https://cdn.shopify.com/s/assets/external/app.js"></script> <script type="text/javascript"> ShopifyApp.init({ apiKey: '{{ SHOPIFY_API_KEY }}', shopOrigin: 'https://{{ current_shop.domain }}' }); ShopifyApp.ready(function() { ShopifyApp.Bar.initialize({ title: '{{ SHOPIFY_APP_NAME }}', buttons: {} }); }); </script>Any help would be appreciated!!!
Thank you!!
The text was updated successfully, but these errors were encountered: