Aug 5, 2020
Hello, I'm trying to build a basic app with Koa and React. I use React with Polaris and App Bridge and Koa for backend because there is shopify-auth package on npm. So, currently i'm storing my shop...
No content to show
User Activity
08-12-2020
Hello,I can't find any documentation on authenticatedFetch so I'm not sure exactly how I'm supposed to add that to my codeconst App = () => {
const config = {
apiKey: process.env.REACT_APP_SHOPIFY_API_KEY,
shopOrigin: window.getU...
08-07-2020
window.name tells me if i'm in the iframe or not. something written by myself in javascript
08-07-2020
Can someone please help me with App Brdige? I have koa for backend and i use Koa-Shopify-Auth for auth. I'm serving react from the backend like that:const static_pages = new Koa();
static_pages.use(serve(__dirname + "/static/build"));
app.use(mount("...
So if you have any idea why App Bridge requires the shopOrigin before i get that embedded URL link with shopOrigin, or why auth doesn't work on Safari let me know :d
Yep, even tho it's a bit tricky. I've created a function in <head> in index.html to get that shop param, and i taught that it would work now without cookies but it seems like during the authorization (using koa-shopify-auth) at some point i need the ...
I've been asking 100 people on this forum for help, finally found your post. To give you some context, I have a shopify application, backend Koa (auth done with koa-shopify-auth), frontend React, currently I'm using cookies to set shopOrigin in order...